Package org.opencastproject.job.api
Class JaxbJobContext
java.lang.Object
org.opencastproject.job.api.JaxbJobContext
- All Implemented Interfaces:
JobContext
JAXB annotated implementation of the job context.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionThe default no arg constructor needed by JAXBJaxbJobContext(JobContext jobContext) Constructs a jaxb job context from another context. -
Method Summary
-
Field Details
-
id
The context identifier, which is equal to the root job identifier -
properties
The properties
-
-
Constructor Details
-
JaxbJobContext
public JaxbJobContext()The default no arg constructor needed by JAXB -
JaxbJobContext
Constructs a jaxb job context from another context.- Parameters:
jobContext- the template
-
-
Method Details
-
getProperties
Returns any additional contextual data.- Specified by:
getPropertiesin interfaceJobContext- Returns:
- the contextual data
- See Also:
-
setProperties
Sets the context properties.- Parameters:
properties- the properties
-
getId
Gets the identifier for this context.- Specified by:
getIdin interfaceJobContext- Returns:
- the context identifier
-
setId
Sets the context identifier.- Parameters:
id- the context id to set the id
-