public class JaxbJobContext extends Object implements JobContext
| Modifier and Type | Field and Description |
|---|---|
protected Long |
id
The context identifier, which is equal to the root job identifier
|
protected HashMap<String,String> |
properties
The properties
|
| Constructor and Description |
|---|
JaxbJobContext()
The default no arg constructor needed by JAXB
|
JaxbJobContext(JobContext jobContext)
Constructs a jaxb job context from another context.
|
| Modifier and Type | Method and Description |
|---|---|
Long |
getId()
Gets the identifier for this context.
|
HashMap<String,String> |
getProperties()
Returns any additional contextual data.
|
void |
setId(Long id)
Sets the context identifier.
|
void |
setProperties(Map<String,String> properties)
Sets the context properties.
|
protected Long id
public JaxbJobContext()
public JaxbJobContext(JobContext jobContext)
jobContext - the templatepublic HashMap<String,String> getProperties()
getProperties in interface JobContextJobContext.getProperties()public void setProperties(Map<String,String> properties)
properties - the propertiespublic Long getId()
getId in interface JobContextpublic void setId(Long id)
id - the context id to set the idCopyright © 2009–2021 Opencast Project. All rights reserved.