Search in sources :

Example 1 with JobAcquisitionXmlImpl

use of org.camunda.bpm.container.impl.metadata.JobAcquisitionXmlImpl in project camunda-bpm-platform by camunda.

the class PlatformJobExecutorActivateTest method defineJobExecutor.

private JobExecutorXmlImpl defineJobExecutor() {
    JobAcquisitionXmlImpl jobAcquisition = new JobAcquisitionXmlImpl();
    jobAcquisition.setProperties(new HashMap<String, String>());
    jobAcquisition.setName(ACQUISITION_NAME);
    JobExecutorXmlImpl jobExecutorXml = new JobExecutorXmlImpl();
    jobExecutorXml.setProperties(new HashMap<String, String>());
    jobExecutorXml.setJobAcquisitions(Collections.<JobAcquisitionXml>singletonList(jobAcquisition));
    return jobExecutorXml;
}
Also used : JobExecutorXmlImpl(org.camunda.bpm.container.impl.metadata.JobExecutorXmlImpl) JobAcquisitionXmlImpl(org.camunda.bpm.container.impl.metadata.JobAcquisitionXmlImpl)

Aggregations

JobAcquisitionXmlImpl (org.camunda.bpm.container.impl.metadata.JobAcquisitionXmlImpl)1 JobExecutorXmlImpl (org.camunda.bpm.container.impl.metadata.JobExecutorXmlImpl)1