Class TokenManager
- java.lang.Object
-
- fr.ens.biologie.genomique.eoulsan.core.workflow.TokenManager
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetContextCount()Get the number of context created by the token manager.booleanisEndOfStep()Test if this is the end of the step.booleanisNoTokenToReceive()Test if there is no token to be received by the token manager.booleanisStarted()Test if the thread for the token is started.voidrun()voidtokenEvent(fr.ens.biologie.genomique.eoulsan.core.workflow.Token token)
-
-
-
Method Detail
-
isNoTokenToReceive
public boolean isNoTokenToReceive()
Test if there is no token to be received by the token manager.- Returns:
- true if no token to be received by the token manager
-
getContextCount
public int getContextCount()
Get the number of context created by the token manager.- Returns:
- the number of context created by the token manager
-
isEndOfStep
public boolean isEndOfStep()
Test if this is the end of the step.- Returns:
- true if this is the end of the step
-
tokenEvent
public void tokenEvent(fr.ens.biologie.genomique.eoulsan.core.workflow.Token token)
-
isStarted
public boolean isStarted()
Test if the thread for the token is started.- Returns:
- true if the thread for the token is started
-
-