com.taleo.integration.client.customstep.control
Class BreakStep
java.lang.Object
com.taleo.integration.client.step.BaseStep
com.taleo.integration.client.step.BaseCustomStep
com.taleo.integration.client.customstep.BaseCustomStep
com.taleo.integration.client.customstep.csv.BaseCustomCsvStep
com.taleo.integration.client.customstep.control.BreakStep
- All Implemented Interfaces:
- com.taleo.integration.client.step.CustomStep, com.taleo.integration.client.step.Step
public class BreakStep
- extends BaseCustomCsvStep
Processing step to break workflow execution.
This step takes all parameters from its base class
BaseCustomCsvStep
and the
following additional parameters:
- exitCode: Optional - The exit code to be set on the Java process
as a result of this step. (Default: The value set in the system property
named
com.taleo.client.customstep.BreakStep.ExitCode
, or 0 if
absent.)
- filename: @deprecated - Use
WriteFileStep
instead. Optional - Full path (absolute or relative) to store the content
of the current file from the pipeline in an uncompressed format. If empty,
the file is not stored.
This step is typically used with a variable setting the active
parameter, to get control over when it is executed.
- Author:
- Romain Guay, Taleo Corporation
Fields inherited from class com.taleo.integration.client.step.BaseCustomStep |
parameters |
Fields inherited from class com.taleo.integration.client.step.BaseStep |
commType, ERROR_NULL_GLOBAL_CONFIG, ERROR_NULL_PIPELINE, ERROR_NULL_STEP_CONFIG, productCode, tempFolder, type, version |
Constructor Summary |
BreakStep()
Constructor without arguments. |
Methods inherited from class com.taleo.integration.client.step.BaseCustomStep |
getSupportedPipeline, getType, init |
Methods inherited from class com.taleo.integration.client.step.BaseStep |
getAllProcessSupportPipeline, getCurrentFile, getCurrentFile, getCurrentMessage, getPostProcessSupportPipeline, getPreProcessSupportPipeline, isOriginalFile, validateLastStepType, validateMessageType, validatePipeline |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.taleo.integration.client.step.Step |
validatePipeline |
BreakStep
public BreakStep()
- Constructor without arguments.
getExitCode
public int getExitCode()
- Get the exit code.
- Returns:
setExitCode
public void setExitCode(int exitCode)
- Set the exit code.
- Parameters:
exitCode
-
getFilename
public java.lang.String getFilename()
- Deprecated.
- Get the filename.
- Returns:
setFilename
public void setFilename(java.lang.String filename)
- Deprecated.
- Set the filename.
- Parameters:
filename
-
getIdentifier
public java.lang.String getIdentifier()
- Specified by:
getIdentifier
in interface com.taleo.integration.client.step.CustomStep
- Specified by:
getIdentifier
in interface com.taleo.integration.client.step.Step
- Specified by:
getIdentifier
in class com.taleo.integration.client.step.BaseCustomStep
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription
in interface com.taleo.integration.client.step.CustomStep
- Specified by:
getDescription
in interface com.taleo.integration.client.step.Step
- Specified by:
getDescription
in class com.taleo.integration.client.step.BaseCustomStep
getName
public java.lang.String getName()
- Specified by:
getName
in interface com.taleo.integration.client.step.CustomStep
- Specified by:
getName
in interface com.taleo.integration.client.step.Step
- Specified by:
getName
in class com.taleo.integration.client.step.BaseCustomStep
init
public void init(com.taleo.ws.integration.client.GlobalConfig config)
- Overrides:
init
in class BaseCustomCsvStep
execute
public void execute(com.taleo.ws.integration.client.Pipeline pipeline)
throws com.taleo.integration.client.step.StepException
- Specified by:
execute
in interface com.taleo.integration.client.step.Step
- Overrides:
execute
in class BaseCustomCsvStep
- Throws:
com.taleo.integration.client.step.StepException