@Component public class WorkflowLifecycle extends Object implements SmartLifecycle
DEFAULT_PHASE| Constructor and Description |
|---|
WorkflowLifecycle(WorkflowDispatcher dispatcher,
ThreadFactory nflowThreadFactory,
Environment env) |
| Modifier and Type | Method and Description |
|---|---|
int |
getPhase() |
boolean |
isAutoStartup() |
boolean |
isPaused() |
boolean |
isRunning() |
void |
pause() |
void |
resume() |
void |
start() |
void |
stop() |
void |
stop(Runnable callback) |
@Inject public WorkflowLifecycle(WorkflowDispatcher dispatcher, ThreadFactory nflowThreadFactory, Environment env)
public int getPhase()
getPhase in interface PhasedgetPhase in interface SmartLifecyclepublic boolean isAutoStartup()
isAutoStartup in interface SmartLifecyclepublic void pause()
public void resume()
public boolean isPaused()
public void stop(Runnable callback)
stop in interface SmartLifecycleCopyright © 2014–2020 Nitor Creations. All rights reserved.