@KFStep(name="Job", category="Flow", toolTipText="Execute a flow as a \'job\' and wait for it to finish", iconPath="weka/gui/knowledgeflow/icons/Job.gif") public class Job extends BaseStep
| Constructor and Description |
|---|
Job() |
| Modifier and Type | Method and Description |
|---|---|
String |
getCustomEditorForStep()
Get the custom editor for this step
|
File |
getFlowFile() |
List<String> |
getIncomingConnectionTypes()
Get a list of incoming connection types that this step can accept.
|
List<String> |
getOutgoingConnectionTypes()
Get a list of outgoing connection types that this step can produce.
|
void |
processIncoming(Data data)
Process an incoming data payload (if the step accepts incoming connections)
|
void |
setFlowFile(File flowFile) |
void |
start()
Start processing.
|
void |
stepInit()
Initialize the step.
|
environmentSubstitute, getDefaultSettings, getInteractiveViewers, getInteractiveViewersImpls, getName, getStepManager, globalInfo, isResourceIntensive, isStopRequested, outputStructureForConnectionType, outputStructureForConnectionType, setName, setStepIsResourceIntensive, setStepManager, setStepMustRunSingleThreaded, stepMustRunSingleThreaded, stop@FilePropertyMetadata(fileChooserDialogType=0, directoriesOnly=false) @OptionMetadata(displayName="Flow file", description="The flow to execute", displayOrder=0) public void setFlowFile(File flowFile)
public File getFlowFile()
public void stepInit()
throws WekaException
StepWekaException - if a problem occurs during initializationpublic void start()
throws WekaException
BaseStepstart in interface BaseStepExtenderstart in interface Stepstart in class BaseStepWekaException - if a problem occurspublic void processIncoming(Data data) throws WekaException
BaseStepprocessIncoming in interface BaseStepExtenderprocessIncoming in interface StepprocessIncoming in class BaseStepdata - the payload to processWekaException - if a problem occurspublic List<String> getIncomingConnectionTypes()
Steppublic List<String> getOutgoingConnectionTypes()
Steppublic String getCustomEditorForStep()
getCustomEditorForStep in interface StepgetCustomEditorForStep in class BaseStepCopyright © 2020 University of Waikato, Hamilton, NZ. All rights reserved.