|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.chains.ChainExecutionManagerImpl
public class ChainExecutionManagerImpl
Constructor Summary | |
---|---|
ChainExecutionManagerImpl(ChainStatePersister chainStatePersister,
BuildContextExecutor buildContextExecutor,
ChainStateFactory chainStateFactory,
com.atlassian.event.EventManager eventManager,
com.atlassian.bamboo.chains.ChainPluginSupport chainPluginSupport)
|
Method Summary | |
---|---|
ChainExecution |
getChainExecution(java.lang.String chainStateKey)
Get the state of the single ChainExecution |
java.util.Collection<ChainExecution> |
getExecutingChains(Chain chain)
Get the Collection of the state of the ChainExecution or empty collection when no chain is executing |
java.lang.Class<? extends com.atlassian.event.Event>[] |
getHandledEventClasses()
|
void |
handleEvent(com.atlassian.event.Event event)
|
boolean |
isRunning(Chain chain)
Checks if the Chain is running |
ChainExecution |
start(Chain chain,
BuildDetectionAction buildDetectionAction)
Starts the Chain |
void |
stop(Chain chain)
Stops the Chain |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ChainExecutionManagerImpl(ChainStatePersister chainStatePersister, BuildContextExecutor buildContextExecutor, ChainStateFactory chainStateFactory, com.atlassian.event.EventManager eventManager, com.atlassian.bamboo.chains.ChainPluginSupport chainPluginSupport)
Method Detail |
---|
@NotNull public java.util.Collection<ChainExecution> getExecutingChains(@NotNull Chain chain)
ChainExecutionManager
getExecutingChains
in interface ChainExecutionManager
@Nullable public ChainExecution getChainExecution(@NotNull java.lang.String chainStateKey)
ChainExecutionManager
getChainExecution
in interface ChainExecutionManager
@Nullable public ChainExecution start(@NotNull Chain chain, @NotNull BuildDetectionAction buildDetectionAction)
ChainExecutionManager
start
in interface ChainExecutionManager
public void stop(@NotNull Chain chain)
ChainExecutionManager
stop
in interface ChainExecutionManager
public boolean isRunning(@NotNull Chain chain)
ChainExecutionManager
isRunning
in interface ChainExecutionManager
public void handleEvent(com.atlassian.event.Event event)
handleEvent
in interface HibernateEventListener
handleEvent
in interface com.atlassian.event.EventListener
public java.lang.Class<? extends com.atlassian.event.Event>[] getHandledEventClasses()
getHandledEventClasses
in interface HibernateEventListener
getHandledEventClasses
in interface com.atlassian.event.EventListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |