Interface IJobConfiguration
-
- All Known Implementing Classes:
AbstractComposedJobConfiguration,AbstractExtendableJobConfiguration,AbstractExtensionJobConfiguration,AbstractJobConfiguration,AbstractWorkflowBasedRunConfiguration
public interface IJobConfigurationInterface for Configuration Objects used to configure work flow jobs. Each Job should get an IJobConfiguration instance to configure its behaviour.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetErrorMessage()Gets the error message.booleanisValid()Checks if is valid.voidsetDefaults()Sets usefull default values for the configuration object.
-
-
-
Method Detail
-
isValid
boolean isValid()
Checks if is valid.- Returns:
- true if the configuration is valid and can be executed, false otherwise
-
getErrorMessage
String getErrorMessage()
Gets the error message.- Returns:
- An error message for the user if the configuration is not valid or null if it is valid
-
setDefaults
void setDefaults()
Sets usefull default values for the configuration object.
-
-