Class JobAcquisitionXmlImpl
- java.lang.Object
-
- org.camunda.bpm.container.impl.metadata.JobAcquisitionXmlImpl
-
- All Implemented Interfaces:
JobAcquisitionXml
public class JobAcquisitionXmlImpl extends 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 String
getJobExecutorClassName()
String
getName()
Map<String,String>
getProperties()
void
setJobExecutorClassName(String jobExecutorClassName)
void
setName(String name)
void
setProperties(Map<String,String> properties)
-
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getName
in interfaceJobAcquisitionXml
- Returns:
- the name of the JobExecutor.
-
setName
public void setName(String name)
-
getProperties
public Map<String,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
-
getJobExecutorClassName
public String getJobExecutorClassName()
- Specified by:
getJobExecutorClassName
in interfaceJobAcquisitionXml
- Returns:
- the fully qualified classname of the JobExecutor to be used.
-
setJobExecutorClassName
public void setJobExecutorClassName(String jobExecutorClassName)
-
-