public class XPipelineStep extends Object implements IPipelineStep
| Constructor and Description |
|---|
XPipelineStep(Class<? extends IPipelineStep> stepClass,
IParameters parameters) |
XPipelineStep(Class<? extends IPipelineStep> stepClass,
URL parametersURL,
boolean ignoreErrors) |
XPipelineStep(Class<? extends IPipelineStep> stepClass,
XParameter... parameters) |
XPipelineStep(IPipelineStep step)
Deprecated.
|
XPipelineStep(IPipelineStep step,
IParameters parameters) |
XPipelineStep(IPipelineStep step,
URL parametersURL,
boolean ignoreErrors) |
XPipelineStep(IPipelineStep step,
XParameter... parameters) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
Cancel processing on this pipeline.
|
void |
destroy()
Executes any cleanup code for this step.
|
String |
getDescription()
Gets a short localizable description of what this step does.
|
String |
getHelpLocation()
Gets the relative directory location for the help of this step.
|
String |
getName()
Gets the localizable name of this step.
|
IParameters |
getParameters()
Gets the current parameters for this step.
|
IPipelineStep |
getStep() |
Event |
handleEvent(Event event)
Processes each event sent though the pipeline.
|
boolean |
isDone()
Steps that can generate
Events such as IFilters return
false until no more events can be created. |
boolean |
isLastOutputStep()
Is this step the last step with output in the pipeline?
|
void |
setLastOutputStep(boolean isLastStep)
Tell the step if it is the last one on the pipeline with output.
|
void |
setParameters(IParameters params)
Sets new parameters for this step.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSourceLocale, getTargetLocale, setSourceLocale, setTargetLocalepublic XPipelineStep(IPipelineStep step, IParameters parameters)
@Deprecated public XPipelineStep(IPipelineStep step)
public XPipelineStep(IPipelineStep step, XParameter... parameters)
public XPipelineStep(Class<? extends IPipelineStep> stepClass, IParameters parameters)
public XPipelineStep(Class<? extends IPipelineStep> stepClass, XParameter... parameters)
public XPipelineStep(IPipelineStep step, URL parametersURL, boolean ignoreErrors)
public XPipelineStep(Class<? extends IPipelineStep> stepClass, URL parametersURL, boolean ignoreErrors)
public String getDescription()
IPipelineStepgetDescription in interface IPipelineSteppublic String getName()
IPipelineStepgetName in interface IPipelineSteppublic void destroy()
IPipelineStepdestroy in interface IPipelineSteppublic String getHelpLocation()
IPipelineStepgetHelpLocation in interface IPipelineSteppublic IParameters getParameters()
IPipelineStepgetParameters in interface IPipelineSteppublic Event handleEvent(Event event)
IPipelineStephandleEvent in interface IPipelineStepevent - the event to process.public boolean isDone()
IPipelineStepEvents such as IFilters return
false until no more events can be created.
Steps which do not create Events always return true.isDone in interface IPipelineSteppublic boolean isLastOutputStep()
IPipelineStepisLastOutputStep in interface IPipelineSteppublic void setLastOutputStep(boolean isLastStep)
IPipelineStepsetLastOutputStep in interface IPipelineStepisLastStep - true if last step with output, false otherwise.public void setParameters(IParameters params)
IPipelineStepsetParameters in interface IPipelineStepparams - the new parameters to use.public IPipelineStep getStep()
public void cancel()
IPipelineStepIPipelineStep is responsible
to implement a cancel method that will interrupt long running operationscancel in interface IPipelineStepCopyright © 2021. All rights reserved.