Examples of State


Examples of com.spotify.helios.common.descriptors.TaskStatus.State

    for (TaskStatusEvent event : events) {
      String host = checkNotNull(event.getHost());
      long timestamp = checkNotNull(event.getTimestamp());
      TaskStatus status = checkNotNull(event.getStatus());
      State state = checkNotNull(status.getState());
      String containerId = status.getContainerId();
      containerId = containerId == null ? "<none>" : containerId;

      table.row(host, format.print(timestamp), state, status.getThrottled(), containerId);
    }
View Full Code Here

Examples of com.springsource.insight.plugin.grails.GrailsControllerStateKeeper.State

        super();
    }

    @Override
    public void processNormalExit(Operation op, Object returnValue) {
        State state = GrailsControllerStateKeeper.getAndDestroyThreadLocalState();
        op.label(buildLabel(state))
                .sourceCodeLocation(buildSourceCodeLocation(state))
        ;

        OperationList actionParams = op.createList("actionParams");
View Full Code Here

Examples of com.sshtools.j2ssh.util.State

     * @return true if the client is connected, false otherwise
     *
     * @since 0.2.0
     */
    public boolean isConnected() {
        State state = (transport == null) ? null : transport.getState();
        int value = (state == null) ? TransportProtocolState.DISCONNECTED
                                    : state.getValue();

        return ((value == TransportProtocolState.CONNECTED) ||
        (value == TransportProtocolState.PERFORMING_KEYEXCHANGE));
    }
View Full Code Here

Examples of com.sun.grid.installer.gui.Host.State

        return exitValue;
    }

    public static State generateState() {
        State state;

        state = State.values()[random(0, State.values().length - 1)];

        return state;
    }
View Full Code Here

Examples of com.sun.java.swing.plaf.windows.TMSchema.State

            //but native application does not seem to animate them
            return;
        }
        AnimationController controller =
            AnimationController.getAnimationController();
        State oldState = controller.getState(c, part);
        if (oldState != newState) {
            controller.putState(c, part, newState);
            if (newState == State.DEFAULTED) {
                // it seems for DEFAULTED button state Vista does animation from
                // HOT
View Full Code Here

Examples of com.sun.msv.reader.State

    }
   
    protected State createChildState( StartTagInfo tag ) {
        final XMLSchemaReader reader = (XMLSchemaReader)this.reader;
       
        State s;
        if( super.exp==Expression.epsilon ) {
            // model group must be the first expression child.
            s = reader.createModelGroupState(this,tag);
            if(s!=null )    return s;
        }
View Full Code Here

Examples of com.tinkerforge.BrickletDualRelay.State

   */
  @Override
  public void fetchSwitchState() {
    OnOffValue switchValue = OnOffValue.UNDEF;
    try {
      State state = getMbrick().getTinkerforgeDevice().getState();
      if (relayNum == 1) {
        switchValue = (state.relay1) ? OnOffValue.ON : OnOffValue.OFF;
      } else {
        switchValue = (state.relay2) ? OnOffValue.ON : OnOffValue.OFF;
      }
View Full Code Here

Examples of com.vmware.vim.binding.vim.HttpNfcLease.State

         importTotal += f.length();
      }

      try {
         // wait for nfc lease to become ready
         State state = nfcLease.getState();
         while (state != State.ready) {
            Thread.sleep(1000);
            state = nfcLease.getState();
            if (state == State.error) {
               Exception e = nfcLease.getError();
View Full Code Here

Examples of com.volantis.xml.pipeline.sax.impl.validation.State

public class TemplateSchemaTestCase
        extends TestCaseAbstract {

    private void checkExpects(State start, Event event, State expected) {
        State actual = start.transition(event);
        assertEquals("Did not expect to move to state " + actual +
                " from " + start + " on event " + event,
                expected, actual);
    }
View Full Code Here

Examples of com.werken.blissed.State

        if ( stateTag == null )
        {
            throw new JellyException( "Not within a state element" );
        }
       
        State state = stateTag.getState();

        return state;
    }
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.