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 int
getContextCount()
Get the number of context created by the token manager.boolean
isEndOfStep()
Test if this is the end of the step.boolean
isNoTokenToReceive()
Test if there is no token to be received by the token manager.boolean
isStarted()
Test if the thread for the token is started.void
run()
void
tokenEvent(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
-
-