hudson.plugins.build_publisher
Class ThreadState

java.lang.Object
  extended by hudson.plugins.build_publisher.ThreadState
Direct Known Subclasses:
ThreadState.Dead, ThreadState.ErrorRecoveryWait, ThreadState.Idle, ThreadState.Publishing

public abstract class ThreadState
extends java.lang.Object

The current state of PublisherThread.

The state is bundled into this immutable object so that PublisherThread could update the state atomically without locking.

Even the singleton states don't use anonymous class so that Jelly views can be associated with each state.

Author:
Kohsuke Kawaguchi

Nested Class Summary
static class ThreadState.Dead
          PublisherThread is dead.
static class ThreadState.ErrorRecoveryWait
          PublisherThread encountered an error and is waiting before it attempts the tranmission again.
static class ThreadState.Idle
          PublisherThread is doing nothing and looking for something to work on.
static class ThreadState.Publishing
          PublisherThread is publishing a build.
 
Field Summary
static ThreadState IDLE
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

IDLE

public static final ThreadState IDLE


Copyright © 2004-2012. All Rights Reserved.