Interface IJobConfiguration
-
- All Known Implementing Classes:
AbstractComposedJobConfiguration
,AbstractExtendableJobConfiguration
,AbstractExtensionJobConfiguration
,AbstractJobConfiguration
,AbstractWorkflowBasedRunConfiguration
public interface IJobConfiguration
Interface 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 String
getErrorMessage()
Gets the error message.boolean
isValid()
Checks if is valid.void
setDefaults()
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.
-
-