Package org.opencastproject.workflow.api
Interface Configurable
- All Known Subinterfaces:
WorkflowOperationDefinition
- All Known Implementing Classes:
WorkflowOperationDefinitionImpl,WorkflowOperationInstance
public interface Configurable
A configurable entity.
-
Method Summary
Modifier and TypeMethodDescriptiongetConfiguration(String key) Returns the value of propertynameornullif no such property has been set.Gets the configuration keys that are currently set for this configurable entity.voidRemoves thekeyconfiguration.voidsetConfiguration(String key, String value) Sets the configuration with namekeyto valuevalue, or adds it if it doesn't already exist.
-
Method Details
-
getConfiguration
Returns the value of propertynameornullif no such property has been set.- Parameters:
key- the configuration key- Returns:
- the configuration value
-
setConfiguration
Sets the configuration with namekeyto valuevalue, or adds it if it doesn't already exist.- Parameters:
key- the configuration keyvalue- the configuration value
-
getConfigurationKeys
Gets the configuration keys that are currently set for this configurable entity.- Returns:
- the configuration keys
-
removeConfiguration
Removes thekeyconfiguration.- Parameters:
key- the configuration key
-