Examples of ExecutionType


Examples of br.eti.kinoshita.testlinkjavaapi.model.ExecutionType

          testCase.setSummary( getString(map, TestLinkResponseParams.summary.toString()) );
          testCase.setParentId( getInteger(map, TestLinkResponseParams.parentId.toString() ) );
          testCase.setOrder( getInteger(map, TestLinkResponseParams.order.toString() ) );
          testCase.setName( getString(map, TestLinkResponseParams.name.toString()));
          Integer executionTypeValue = getInteger(map, TestLinkResponseParams.executionType.toString());
          ExecutionType execution = ExecutionType.getExecutionType( executionTypeValue );
          testCase.setExecutionType( execution );
         
          // TODO: check if TL 2.0 allows it
//          CustomField[] customFields = (CustomField[])getArray(map, TestLinkResponseParams.customFields.toString());
//          if ( customFields != null )
View Full Code Here

Examples of br.eti.kinoshita.testlinkjavaapi.model.ExecutionType

          execution.setStatus( status );
          execution.setTestPlanId( getInteger(map, TestLinkResponseParams.testPlanId.toString()) );
          execution.setTestCaseVersionId( getInteger(map, TestLinkResponseParams.testCaseVersionId.toString()) );
          execution.setTestCaseVersionNumber( getInteger(map, TestLinkResponseParams.testcaseVersionNumber.toString()) );
          Integer executionTypeText = getInteger( map, TestLinkResponseParams.executionType.toString() );
          ExecutionType executionType = ExecutionType.getExecutionType(executionTypeText);
          execution.setExecutionType(executionType);
          execution.setNotes( getString(map, TestLinkResponseParams.notes.toString()) );         
        }
       
      }     
View Full Code Here

Examples of com.google.code.lightssh.project.workflow.model.ExecutionType

   
    String taskId = myTask.getId();
    if( StringUtils.isEmpty(taskId) )
      throw new ApplicationException("任务编号不能为空!");
   
    ExecutionType type = myTask.getType();
    if( type == null )
      throw new ApplicationException("任务操作类型不能为空!");
   
    String message = myTask.getMessage();
    if( StringUtils.isEmpty(message)  )
      throw new ApplicationException("流转意见不能为空!");
   
    Task task = taskService.createTaskQuery().taskId(myTask.getId()).singleResult();
    if( task == null )
      throw new ApplicationException("任务["+myTask.getId()+"]不存在!");
   
    //task.getParentTaskId();
    //identityService.setAuthenticatedUserId( user );
   
    //保存操作日志
    taskLogManager.save(task.getProcessInstanceId(),task.getId(),type,user, message);
   
    Map<String,Object> variables = new HashMap<String,Object>();
    variables.put(WorkflowConstant.TASK_ACTIOIN_VARIABLE_NAME,type.name());
    variables.put("passed", ExecutionType.SUBMIT.equals(type)); //TODO
   
    taskService.complete(taskId,variables); //提交
  }
View Full Code Here

Examples of com.google.code.lightssh.project.workflow.model.ExecutionType

   
    log.debug("流程挂钩业务处理,流程实例Id[{}],业务Key[{}],Activity名称[{}],参数[{}]=[{}]",
        new Object[]{procInstId,bizKey,execution.getCurrentActivityName()
            ,WorkflowConstant.TASK_ACTIOIN_VARIABLE_NAME,motion});
   
    ExecutionType type = null;
    if( motion != null )
      type = ExecutionType.valueOf(motion.toString());
   
    if( bizMgr != null )
      bizMgr.process(type,procDefKey,procInstId,bizKey);
View Full Code Here

Examples of com.netflix.hystrix.contrib.javanica.command.ExecutionType

        Object obj = joinPoint.getTarget();
        Object[] args = joinPoint.getArgs();
        Validate.notNull(method, "failed to get method from joinPoint: %s", joinPoint);
        HystrixCommand hystrixCommand = method.getAnnotation(HystrixCommand.class);
        HystrixCollapser hystrixCollapser = method.getAnnotation(HystrixCollapser.class);
        ExecutionType executionType = ExecutionType.getExecutionType(method.getReturnType());
        Method cacheKeyMethod = getMethodFromTarget(joinPoint, hystrixCommand.cacheKeyMethod());
        MetaHolder metaHolder = MetaHolder.builder()
                .args(args).method(method).obj(obj).proxyObj(joinPoint.getThis())
                .cacheKeyMethod(cacheKeyMethod).executionType(executionType)
                .hystrixCommand(hystrixCommand).hystrixCollapser(hystrixCollapser)
View Full Code Here

Examples of org.jasig.portal.events.aggr.portletexec.PortletExecutionAggregationKey.ExecutionType

        final TimeDimension timeDimension = key.getTimeDimension();
        final DateDimension dateDimension = key.getDateDimension();
        final AggregationInterval interval = key.getInterval();
        final AggregatedGroupMapping aggregatedGroup = key.getAggregatedGroup();
        final AggregatedPortletMapping portletMapping = key.getPortletMapping();
        final ExecutionType executionType = key.getExecutionType();
        return new PortletExecutionAggregationImpl(timeDimension, dateDimension, interval, aggregatedGroup, portletMapping, executionType);
    }
View Full Code Here

Examples of org.jasig.portal.portlet.rendering.worker.IPortletExecutionContext.ExecutionType

        final Thread currentThread = Thread.currentThread();
        final String threadName = currentThread.getName();
        context.setExecutionAttribute(THREAD_NAME, threadName);

        final ExecutionType executionType = context.getExecutionType();
        currentThread.setName(threadName + "-" + userName + "-" + executionType + "-[" + fname + "]");
    }
View Full Code Here

Examples of org.jboss.arquillian.protocol.jmx.JMXMethodExecutor.ExecutionType

   {
      if (props != null)
      {
         // This hack associates the ExecutionType with the current thread
         // such that the OSGitestEnricher can pick it up and know whether we run embedded or remote
         ExecutionType executionType = (ExecutionType)props.get(ExecutionType.class);
         executionTypeAssociation.set(executionType);
      }
     
      try
      {
View Full Code Here

Examples of org.jboss.arquillian.protocol.jmx.JMXProtocolConfiguration.ExecutionType

    }

    @Override
    public ContainerMethodExecutor getExecutor(JMXProtocolConfiguration config, ProtocolMetaData metaData, CommandCallback callback) {
        MBeanServerConnection mbeanServer = mbeanServerInst.get();
        ExecutionType executionType = config.getExecutionType();
        return new JMXMethodExecutor(mbeanServer, executionType, callback);
    }
View Full Code Here

Examples of org.jboss.arquillian.protocol.jmx.JMXProtocolConfiguration.ExecutionType

    }

    @Override
    public ContainerMethodExecutor getExecutor(JMXProtocolConfiguration config, ProtocolMetaData metaData, CommandCallback callback) {
        MBeanServerConnection mbeanServer = mbeanServerInst.get();
        ExecutionType executionType = config.getExecutionType();
        return new JMXMethodExecutor(mbeanServer, executionType, callback);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.