Examples of State


Examples of nexj.core.meta.workflow.State

      try
      {
         m_context.setSecure(false);
         instance = new Instance(metaclass, m_context);

         State state = new State(service, true);

         state.setReservedValue(0, instance);
         state.setReservedValue(1, state);
         state.setValue(Service.OUTPUT, sOutput);
         state.setToken(service, message);

         int i = 0;

         for (Pair pair = args; pair != null; pair = pair.getNext())
         {
            if (i >= service.getArgumentCount())
            {
               i = -1;
               break;
            }
           
            state.setValue(service.getArgument(i++), pair.getHead());
         }

         if (i != service.getArgumentCount())
         {
            throw new IntegrationException("err.integration.service.argCount",
View Full Code Here

Examples of no.hal.jex.jextest.jexTest.State

   * <!-- end-user-doc -->
   * @generated
   */
  public NotificationChain basicSetState(State newState, NotificationChain msgs)
  {
    State oldState = state;
    state = newState;
    if (eNotificationRequired())
    {
      ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, JexTestPackage.TRANSITION_TARGET_EFFECT__STATE, oldState, newState);
      if (msgs == null) msgs = notification; else msgs.add(notification);
View Full Code Here

Examples of open.dolphin.setting.AbstractSettingPanel.State

       
    }
   
    public void checkState() {
       
        State newState = State.NONE_STATE;
       
        if (text.getText().trim().equals("") ||
                path.getText().trim().equals("") ||
                general.getText().trim().equals("") ||
                other.getText().trim().equals("") ||
View Full Code Here

Examples of org.activiti.spring.annotations.State

    ReflectionUtils.doWithMethods(targetClass,
        new ReflectionUtils.MethodCallback() {
          @SuppressWarnings("unchecked")
          public void doWith(Method method) throws IllegalArgumentException, IllegalAccessException {

            State state = AnnotationUtils.getAnnotation(method, State.class);

            String processName = component.processKey();

            if (StringUtils.hasText(state.process())) {
              processName = state.process();
            }

            String stateName = state.state();

            if (!StringUtils.hasText(stateName)) {
              stateName = state.value();
            }

            Assert.notNull(stateName, "You must provide a stateName!");

            Map<Integer, String> vars = new HashMap<Integer, String>();
View Full Code Here

Examples of org.allspice.util.State

      }
    }
  }
 
  public static State createID() {
    State first = StateMachine.charClass("abcdefghijklmnopqrstuvwxyz_", true, false) ;
    State remaining = StateMachine.charClass("0123456789abcdefghijklmnopqrstuvwxyz_", true, false) ;
    State remainingclosure = StateMachine.optional(StateMachine.closure(remaining)) ;
    return StateMachine.concat(first,remainingclosure) ;
  }
View Full Code Here

Examples of org.antlr.analysis.State

  }

  private void checkRule(Grammar g, String rule, String expecting)
  {
    g.buildNFA();
    State startState = g.getRuleStartState(rule);
    FASerializer serializer = new FASerializer(g);
    String result = serializer.serialize(startState);

    //System.out.print(result);
    assertEquals(expecting, result);
View Full Code Here

Examples of org.apache.accumulo.server.test.randomwalk.State

   
    String confDir = acuHome + "/test/system/randomwalk/conf/";
    Framework.setConfigDir(confDir);
    try {
      Module module = new Module(new File(confDir + "modules/unit/Basic.xml"));
      module.visit(new State(new Properties()), new Properties());
    } catch (Exception e) {
      e.printStackTrace();
    }
  }
View Full Code Here

Examples of org.apache.accumulo.test.randomwalk.State

      return;
   
    String confDir = acuHome + "/test/system/randomwalk/conf/";
    try {
      Module module = new Module(new File(confDir + "modules/unit/Basic.xml"));
      module.visit(new State(new Properties()), new Properties());
    } catch (Exception e) {
      e.printStackTrace();
    }
  }
View Full Code Here

Examples of org.apache.ambari.server.state.State

     
      HostComponentStateEntity jtHostComponentStateEntity = serviceComponentDesiredStateEntityJT.getHostComponentStateEntities().iterator().next();
      HostComponentDesiredStateEntity jtHostComponentDesiredStateEntity = serviceComponentDesiredStateEntityJT.getHostComponentDesiredStateEntities().iterator().next();
      String jtHostname = jtHostComponentStateEntity.getHostName();
      State jtCurrState = jtHostComponentStateEntity.getCurrentState();
      State jtHostComponentDesiredState = jtHostComponentDesiredStateEntity.getDesiredState();
      State jtServiceComponentDesiredState = serviceComponentDesiredStateEntityJT.getDesiredState();
         
      ClusterServiceEntityPK pk = new ClusterServiceEntityPK();
      pk.setClusterId(clusterEntity.getClusterId());
      pk.setServiceName("MAPREDUCE");
     
View Full Code Here

Examples of org.apache.axis2.jaxws.common.config.WSDLValidatorElement.State

            WSDLExtensionValidatorUtil.performValidation(axisConfiguration , extensionSet, wsdlDefinition, endpointDesc);
           
            //lets check here if there are any extension calls that fail validation.
            WSDLValidatorElement[] elements = extensionSet.toArray(new WSDLValidatorElement[0]);
            for(WSDLValidatorElement element:elements) {
                State state = element.getState();
                if(state  == State.NOT_SUPPORTED){
                    QName type = element.getExtensionElement().getElementType();
                    addValidationFailure(this, "Annotation @RespectBinding was enabled, but the " +
                        "Extension Element " + type  + " is not supported.");
                    return Validator.INVALID; 
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.