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
Modifier and TypeMethodDescriptionGets the error message.boolean
isValid()
Checks if is valid.void
Sets usefull default values for the configuration object.
-
Method Details
-
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.
-