Class JobAcquisitionXmlImpl
- java.lang.Object
-
- org.camunda.bpm.container.impl.metadata.JobAcquisitionXmlImpl
-
- All Implemented Interfaces:
JobAcquisitionXml
public class JobAcquisitionXmlImpl extends java.lang.Object implements JobAcquisitionXml
Implementation of the
JobAcquisitionXml
SPI interface- Author:
- Daniel Meyer
-
-
Field Summary
-
Fields inherited from interface org.camunda.bpm.container.impl.metadata.spi.JobAcquisitionXml
LOCK_TIME_IN_MILLIS, MAX_JOBS_PER_ACQUISITION, WAIT_TIME_IN_MILLIS
-
-
Constructor Summary
Constructors Constructor Description JobAcquisitionXmlImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getJobExecutorClassName()
java.lang.String
getName()
java.util.Map<java.lang.String,java.lang.String>
getProperties()
void
setJobExecutorClassName(java.lang.String jobExecutorClassName)
void
setName(java.lang.String name)
void
setProperties(java.util.Map<java.lang.String,java.lang.String> properties)
-
-
-
Method Detail
-
getName
public java.lang.String getName()
- Specified by:
getName
in interfaceJobAcquisitionXml
- Returns:
- the name of the JobExecutor.
-
setName
public void setName(java.lang.String name)
-
getProperties
public java.util.Map<java.lang.String,java.lang.String> getProperties()
- Specified by:
getProperties
in interfaceJobAcquisitionXml
- Returns:
- a set of properties to configure the Job Executor. The properties are mapped to bean properties of the JobExecutor class used.
- See Also:
JobAcquisitionXml.LOCK_TIME_IN_MILLIS
,JobAcquisitionXml.WAIT_TIME_IN_MILLIS
,JobAcquisitionXml.MAX_JOBS_PER_ACQUISITION
-
setProperties
public void setProperties(java.util.Map<java.lang.String,java.lang.String> properties)
-
getJobExecutorClassName
public java.lang.String getJobExecutorClassName()
- Specified by:
getJobExecutorClassName
in interfaceJobAcquisitionXml
- Returns:
- the fully qualified classname of the JobExecutor to be used.
-
setJobExecutorClassName
public void setJobExecutorClassName(java.lang.String jobExecutorClassName)
-
-