Class BatchElementConfiguration
java.lang.Object
org.camunda.bpm.engine.impl.batch.BatchElementConfiguration
Configuration information on the elements of a batch
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected DeploymentMappingsprotected static final Comparator<String> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddDeploymentMappings(List<ImmutablePair<String, String>> mappings) Add mappings of deployment ids to resource ids to the overall element mapping list.voidaddDeploymentMappings(List<ImmutablePair<String, String>> mappingsList, Collection<String> idList) Add mappings of deployment ids to resource ids to the overall element mapping list.protected voidgetIds()booleanisEmpty()
-
Field Details
-
NULLS_LAST_STRING_COMPARATOR
-
collectedMappings
-
ids
-
mappings
-
-
Constructor Details
-
BatchElementConfiguration
public BatchElementConfiguration()
-
-
Method Details
-
addDeploymentMappings
Add mappings of deployment ids to resource ids to the overall element mapping list.- Parameters:
mappings- the mappings to add
-
addDeploymentMappings
public void addDeploymentMappings(List<ImmutablePair<String, String>> mappingsList, Collection<String> idList) Add mappings of deployment ids to resource ids to the overall element mapping list. All elements fromidListthat are not part of the mappings will be added to the list ofnulldeployment id mappings.- Parameters:
mappingsList- the mappings to addidList- the list of ids to check for missing elements concerning the mappings to add
-
getIds
- Returns:
- the list of ids that are mapped to deployment ids, ordered by deployment id
-
getMappings
- Returns:
- the list of
DeploymentMappings
-
isEmpty
public boolean isEmpty() -
createDeploymentMappings
protected void createDeploymentMappings()
-