Class AbstractComposedJobConfiguration
java.lang.Object
de.uka.ipd.sdq.workflow.configuration.AbstractJobConfiguration
de.uka.ipd.sdq.workflow.configuration.AbstractComposedJobConfiguration
- All Implemented Interfaces:
IJobConfiguration,Cloneable
Job configuration which is composed from several child job configurations.
-
Field Summary
Fields inherited from class de.uka.ipd.sdq.workflow.configuration.AbstractJobConfiguration
isFixed -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddChildConfiguration(int id, AbstractJobConfiguration childConfig) Adds the child configuration.protected AbstractJobConfigurationgetChildConfiguration(int id) Gets the child configuration.Gets the error message.booleanisValid()Checks if is valid.voidSets usefull default values for the configuration object.toString()Methods inherited from class de.uka.ipd.sdq.workflow.configuration.AbstractJobConfiguration
checkFixed, clone, isFrozen, validateAndFreeze
-
Constructor Details
-
AbstractComposedJobConfiguration
public AbstractComposedJobConfiguration()
-
-
Method Details
-
getErrorMessage
Description copied from interface:IJobConfigurationGets the error message.- Specified by:
getErrorMessagein interfaceIJobConfiguration- Specified by:
getErrorMessagein classAbstractJobConfiguration- Returns:
- An error message for the user if the configuration is not valid or null if it is valid
-
isValid
public boolean isValid()Description copied from interface:IJobConfigurationChecks if is valid.- Specified by:
isValidin interfaceIJobConfiguration- Overrides:
isValidin classAbstractJobConfiguration- Returns:
- true if the configuration is valid and can be executed, false otherwise
-
setDefaults
public void setDefaults()Description copied from interface:IJobConfigurationSets usefull default values for the configuration object.- Specified by:
setDefaultsin interfaceIJobConfiguration- Specified by:
setDefaultsin classAbstractJobConfiguration
-
toString
-
addChildConfiguration
Adds the child configuration.- Parameters:
id- the idchildConfig- the child config
-
getChildConfiguration
Gets the child configuration.- Parameters:
id- the id- Returns:
- the child configuration
-