Examples of Decision


Examples of com.amazonaws.services.simpleworkflow.model.Decision

   
    private Decision createRequestCancelExternalWorkflowExecutionDecision() {
        RequestCancelExternalWorkflowExecutionDecisionAttributes tryCancel = new RequestCancelExternalWorkflowExecutionDecisionAttributes();
        tryCancel.setWorkflowId(startAttributes.getWorkflowId());
        tryCancel.setRunId(runId);
        Decision decision = new Decision();
        decision.setRequestCancelExternalWorkflowExecutionDecisionAttributes(tryCancel);
        decision.setDecisionType(DecisionType.RequestCancelExternalWorkflowExecution.toString());
        return decision;
    }
View Full Code Here

Examples of com.amazonaws.services.simpleworkflow.model.Decision

        decision.setDecisionType(DecisionType.RequestCancelExternalWorkflowExecution.toString());
        return decision;
    }

    private Decision createStartChildWorkflowExecutionDecision() {
        Decision decision = new Decision();
        decision.setStartChildWorkflowExecutionDecisionAttributes(startAttributes);
        decision.setDecisionType(DecisionType.StartChildWorkflowExecution.toString());
        return decision;
    }
View Full Code Here

Examples of com.dtolabs.rundeck.core.authorization.Decision

     * Return the evaluation decision for the resource, subject, action, environment and contexts
     */
    private Decision evaluate(Map<String, String> resource, Subject subject,
                             String action, Set<Attribute> environment, List<AclContext>contexts) {

        Decision decision = internalEvaluate(resource, subject, action, environment, contexts);
        StringBuilder sb = new StringBuilder();
        sb.append("Evaluating ").append(decision).append(" (").append(decision.evaluationDuration()).append("ms)");
        logger.info(sb.toString());

        return decision;
    }
View Full Code Here

Examples of com.inspiresoftware.lib.dto.geda.assembler.examples.converter.TestDto3Class.Decision

    return Decision.Undecided;
  }
 
  /** {@inheritDoc} */
  public Object convertToEntity(final Object object, final Object oldValue, final BeanFactory beanFactory) {
    final Decision value = (Decision) object;
    return (value != null && Decision.Decided.equals(value));
  }
View Full Code Here

Examples of com.inspiresoftware.lib.dto.geda.examples.usecases.converter.DtoClass.Decision

    return Decision.Undecided;
  }
 
  /** {@inheritDoc} */
  public Object convertToEntity(final Object object, final Object oldValue, final BeanFactory beanFactory) {
    final Decision value = (Decision) object;
    return (value != null && Decision.Decided.equals(value));
  }
View Full Code Here

Examples of com.poker.shared.PlayerMove.Decision

    if (state.getProcess() == 4) {
      Choose choose1 = state.getPlayers().get(0).getChoose();
      serialized += "_" + choose1.name() + "_";
      Choose choose2 = state.getPlayers().get(1).getChoose();
      serialized += choose2.name() + "_";
      Decision decision1 = state.getPlayers().get(0).getDecision();
      serialized += decision1.name()+ "_";
      serialized += state.getPlayers().get(0).getResult();
    }
    if (state.getProcess() == 5) {
      Choose choose1 = state.getPlayers().get(0).getChoose();
      serialized += "_" + choose1.name() + "_";
      Choose choose2 = state.getPlayers().get(1).getChoose();
      serialized += choose2.name() + "_";
      Decision decision1 = state.getPlayers().get(0).getDecision();
      serialized += decision1.name() + "_";
      serialized += state.getPlayers().get(0).getResult() +"_";
      Decision decision2 = state.getPlayers().get(1).getDecision();
      serialized += decision2.name() + "_";
      serialized += state.getPlayers().get(1).getResult();   
    }
    return serialized;
  }
View Full Code Here

Examples of com.poker.shared.PlayerMove.Decision

    if (state.getProcess() == 4) {
      Choose choose1 = state.getPlayers().get(0).getChoose();
      serialized += "_" + choose1.name() + "_";
      Choose choose2 = state.getPlayers().get(1).getChoose();
      serialized += choose2.name() + "_";
      Decision decision1 = state.getPlayers().get(0).getDecision();
      serialized += decision1.name()+ "_";
      serialized += state.getPlayers().get(0).getResult();
    }
    if (state.getProcess() == 5) {
      Choose choose1 = state.getPlayers().get(0).getChoose();
      serialized += "_" + choose1.name() + "_";
      Choose choose2 = state.getPlayers().get(1).getChoose();
      serialized += choose2.name() + "_";
      Decision decision1 = state.getPlayers().get(0).getDecision();
      serialized += decision1.name() + "_";
      serialized += state.getPlayers().get(0).getResult() +"_";
      Decision decision2 = state.getPlayers().get(1).getDecision();
      serialized += decision2.name() + "_";
      serialized += state.getPlayers().get(1).getResult();   
    }
    return serialized;
  }
View Full Code Here

Examples of de.spotnik.mail.core.filter.Decision

     * @throws BusinessException
     */
    public void filter( WrappedMessage message) throws MessagingException, BusinessException
    {
        FilterProcessorResult result = new FilterProcessorResult();
        Decision decision;
       
        callPreProcessors(message);
       
        for( IMailFilter filter : this.mailFilters)
        {
View Full Code Here

Examples of eu.planets_project.pp.plato.model.Decision

        Alternative alt2 = Alternative.createAlternative();
        alt2.setName("PDF/A ToolB");
        alt2.setDescription("Convert to PDF/A using the well-tested tool 'B'");
        q.getAlternativesDefinition().addAlternative(alt2);

        Decision d2 = new Decision();
        d2.setDecision(GoDecision.GO);
        d2.setActionNeeded("also no actions needed");
        d2.setReason("Reason, why no actions are needed? Hmm...");

        q.setDecision(d2);

        Node rootN = new Node();
        rootN.setName("Minimalist root node");
View Full Code Here

Examples of gannuWSD.testing.Decision

      if(idx>=0)
      {
        idx=line.indexOf("wnsn=\"");
        text+=line.substring(0,idx);
        text+="wnsn=\"";
        Decision d=ds.get(index);
        if(d.isAttempted())
        {
          int wnsns[]=d.getAnswers();
          if(wnsns.length>0)
          {
            text+=String.valueOf(wnsns[0]+1);
            for(int i=1;i<wnsns.length;i++)
            {
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.