public JobDefinitionCreateRequest createJobDefinitionCreateRequestFromActivitiXml(String activitiXml){
  List<Parameter> parameters=new ArrayList<>();
  Parameter parameter=new Parameter(AbstractServiceTest.ATTRIBUTE_NAME_1_MIXED_CASE,AbstractServiceTest.ATTRIBUTE_NAME_1_MIXED_CASE);
  parameters.add(parameter);
  return createJobDefinitionCreateRequest(AbstractServiceTest.TEST_ACTIVITI_NAMESPACE_CD,AbstractServiceTest.TEST_ACTIVITI_JOB_NAME,AbstractServiceTest.JOB_DESCRIPTION,activitiXml,parameters);
}

public JobDefinitionCreateRequest createJobDefinitionCreateRequestFromActivitiXml ( String activitiXml ) { List < Parameter > parameters = new ArrayList < > ( ) ; Parameter parameter = new Parameter ( AbstractServiceTest . ATTRIBUTE_NAME_1_MIXED_CASE , AbstractServiceTest . ATTRIBUTE_NAME_1_MIXED_CASE ) ; parameters . add ( parameter ) ; return createJobDefinitionCreateRequest ( AbstractServiceTest . TEST_ACTIVITI_NAMESPACE_CD , AbstractServiceTest . TEST_ACTIVITI_JOB_NAME , AbstractServiceTest . JOB_DESCRIPTION , activitiXml , parameters ) ; }
creates a new job definition create request based on fixed parameters and a specified activiti xml .
