Examples of State


Examples of org.geoserver.importer.ImportContext.State

        task = json.getJSONObject("task");
        assertEquals("READY", task.get("state"));
       
        assertEquals("EPSG:26713",
            task.getJSONObject("layer").getString("srs"));
        State state = context.getState();
        assertEquals("Invalid context state", State.PENDING, state);
    }
View Full Code Here

Examples of org.geotools.data.Transaction.State

     *            The externally managed connection
     */
    public Transaction buildTransaction(Connection cx) {
        DefaultTransaction tx = new DefaultTransaction();

        State state = new JDBCTransactionState(cx, this, true);
        tx.putState(this, state);

        return tx;
    }
View Full Code Here

Examples of org.geowebcache.seed.GWCTask.STATE

                tilesTotalStr = "Too many to count";
            } else {
                tilesTotalStr = nf.format(tilesTotal);
            }
            final String tilesDoneStr = nf.format(task.getTilesDone());
            final STATE state = task.getState();

            final String status = STATE.UNSET.equals(state) || STATE.READY.equals(state) ? "PENDING"
                    : state.toString();

            String timeSpent = toTimeString(spent, tilesDone, tilesTotal);
            String timeRemaining = toTimeString(remining, tilesDone, tilesTotal);

            String bgColor = ++row % 2 == 0 ? "#FFFFFF" : "#DDDDDD";
View Full Code Here

Examples of org.glassfish.grizzly.Transport.State

                oddPostponedTasks : evenPostponedTasks;
        return tasksToReturn;
    }
   
    boolean isStop() {
        final State state = stateHolder.get();

        return state == State.STOPPED || state == State.STOPPING;
    }
View Full Code Here

Examples of org.globus.workspace.client_core.repr.State

                    "shutdown-save is not 'TransportReady' which is illegal";
                throw new ParameterProblem(err);
            }
        }

        this.exitState = new State(State.STATE_TransportReady);
    }
View Full Code Here

Examples of org.gstreamer.State

     * Sets the media file to play.
     *
     * @param uri The URI that describes the location of the media file.
     */
    public void setURI(URI uri) {
        State old = playbin.getState();
        playbin.ready();
        playbin.setURI(uri);
        playbin.setState(old);
    }
View Full Code Here

Examples of org.hdiv.state.State

  public void testAddPage() {

    IPage page = new Page();
    page.setId(20);

    IState state = new State(0);
    state.setAction("/action");
    IParameter param = new Parameter("name", "value", false, null, true);
    state.addParameter(param);
    page.addState(state);

    session.addPage("20", page);

  }
View Full Code Here

Examples of org.hibernate.test.cache.infinispan.functional.State

      final Citizen c1 = new Citizen();
      c1.setFirstname( "Emmanuel" );
      c1.setLastname( "Bernard" );
      c1.setSsn( "1234" );

      final State france = new State();
      france.setName( "Ile de France" );
      c1.setState( france );

      final Citizen c2 = new Citizen();
      c2.setFirstname( "Gavin" );
      c2.setLastname( "King" );
      c2.setSsn( "000" );
      final State australia = new State();
      australia.setName( "Australia" );
      c2.setState( australia );

      withTx(tm, new Callable<Void>() {
         @Override
         public Void call() throws Exception {
View Full Code Here

Examples of org.jbehave.core.embedder.StoryRunner.State

        embedder.useConfiguration(configuration);
        List<CandidateSteps> candidateSteps = embedder.candidateSteps();
        InjectableStepsFactory stepsFactory = embedder.stepsFactory();
        StoryPathResolver resolver = configuration.storyPathResolver();

        State beforeStories = mock(State.class);
        when(runner.runBeforeOrAfterStories(configuration, candidateSteps, Stage.BEFORE)).thenReturn(beforeStories);
        List<String> storyPaths = new ArrayList<String>();
        Map<String, Story> stories = new HashMap<String, Story>();
        for (Class<? extends Embeddable> embeddable : embeddables) {
            String storyPath = resolver.resolve(embeddable);
View Full Code Here

Examples of org.jboss.aerogear.io.netty.handler.codec.sockjs.handler.SessionState.State

     *
     * @param newState the state to which this session should be set.
     */
    public void setState(State newState) {
        while (true) {
            final State oldState = state.get();
            if (state.compareAndSet(oldState, newState)) {
                return;
            }
        }
    }
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.