Constructor and Description |
---|
ETLRunnerImpl(java.lang.String processUuid) |
ETLRunnerImpl(java.lang.String processUuid,
ETLRunContext context) |
ETLRunnerImpl(java.lang.String processUuid,
ETLRunContext context,
boolean useMainThreadForExec) |
Modifier and Type | Method and Description |
---|---|
void |
buildProcess()
Build the process by building steps, linking them together and identifying heads of execution.
|
void |
cancel()
Stop executing the process
|
ETLRunContext |
getContext()
Get the
ETLRunContext for this runner |
java.util.Set<ExecutionHead> |
getHeads()
Get runnable heads
|
java.lang.String |
getProcessUuid() |
ETLProcessStatus |
getStatus()
Get the status of the process.
|
java.util.Map<java.lang.String,ETLStep> |
getSteps()
Get all built ETLStep objects for this process
|
java.lang.String |
getUUID()
Get the runner UUID
|
void |
run()
Begin running the ETL process
|
void |
setDependencies(com.hof.mi.etl.ETLDependencies dependencies) |
boolean |
shouldSaveRun()
Check if a run must be saved.
|
public ETLRunnerImpl(java.lang.String processUuid, ETLRunContext context)
public ETLRunnerImpl(java.lang.String processUuid, ETLRunContext context, boolean useMainThreadForExec)
public ETLRunnerImpl(java.lang.String processUuid)
public void setDependencies(com.hof.mi.etl.ETLDependencies dependencies)
public ETLRunContext getContext()
ETLRunner
ETLRunContext
for this runnergetContext
in interface ETLRunner
public void run()
ETLRunner
public void cancel()
ETLRunner
public ETLProcessStatus getStatus()
ETLRunner
public java.lang.String getProcessUuid()
public void buildProcess() throws ETLException
buildProcess
in interface ETLRunner
ETLException
public boolean shouldSaveRun()
shouldSaveRun
in interface ETLRunner
public java.util.Map<java.lang.String,ETLStep> getSteps()
public java.lang.String getUUID()
ETLRunner
public java.util.Set<ExecutionHead> getHeads()