Class WorkflowExecutionServiceThread
- java.lang.Object
-
- java.lang.Thread
-
- com.dtolabs.rundeck.core.execution.ServiceThreadBase<WorkflowExecutionResult>
-
- com.dtolabs.rundeck.core.execution.WorkflowExecutionServiceThread
-
- All Implemented Interfaces:
ServiceContext<WorkflowExecutionResult>
,WorkflowExecutionServiceContext
,java.lang.Runnable
public class WorkflowExecutionServiceThread extends ServiceThreadBase<WorkflowExecutionResult> implements WorkflowExecutionServiceContext
WorkflowExecutionServiceThread is ...
-
-
Constructor Summary
Constructors Constructor Description WorkflowExecutionServiceThread(WorkflowExecutionService eservice, WorkflowExecutionItem eitem, StepExecutionContext econtext, LoggingManager loggingManager, ExecutionLifecycleComponentHandler executionLifecycleComponentHandler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StepExecutionContext
getContext()
WorkflowExecutionResult
getResult()
void
run()
WorkflowExecutionResult
runWorkflow()
void
setResult(WorkflowExecutionResult result)
-
Methods inherited from class com.dtolabs.rundeck.core.execution.ServiceThreadBase
abort, getResultObject, getThrowable, isAborted, isSuccessful
-
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.dtolabs.rundeck.core.execution.ServiceContext
getResultObject, getThrowable, isAborted, isSuccessful
-
-
-
-
Constructor Detail
-
WorkflowExecutionServiceThread
public WorkflowExecutionServiceThread(WorkflowExecutionService eservice, WorkflowExecutionItem eitem, StepExecutionContext econtext, LoggingManager loggingManager, ExecutionLifecycleComponentHandler executionLifecycleComponentHandler)
-
-
Method Detail
-
run
public void run()
- Specified by:
run
in interfacejava.lang.Runnable
- Overrides:
run
in classjava.lang.Thread
-
runWorkflow
public WorkflowExecutionResult runWorkflow()
-
getContext
public StepExecutionContext getContext()
- Specified by:
getContext
in interfaceWorkflowExecutionServiceContext
-
getResult
public WorkflowExecutionResult getResult()
- Specified by:
getResult
in interfaceWorkflowExecutionServiceContext
-
setResult
public void setResult(WorkflowExecutionResult result)
-
-