Class BatchElementConfiguration
- java.lang.Object
-
- org.camunda.bpm.engine.impl.batch.BatchElementConfiguration
-
public class BatchElementConfiguration extends Object
Configuration information on the elements of a batch
-
-
Field Summary
Fields Modifier and Type Field Description protected SortedMap<String,Set<String>>
collectedMappings
protected List<String>
ids
protected DeploymentMappings
mappings
protected static Comparator<String>
NULLS_LAST_STRING_COMPARATOR
-
Constructor Summary
Constructors Constructor Description BatchElementConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addDeploymentMappings(List<ImmutablePair<String,String>> mappings)
Add mappings of deployment ids to resource ids to the overall element mapping list.void
addDeploymentMappings(List<ImmutablePair<String,String>> mappingsList, Collection<String> idList)
Add mappings of deployment ids to resource ids to the overall element mapping list.protected void
createDeploymentMappings()
List<String>
getIds()
DeploymentMappings
getMappings()
boolean
isEmpty()
-
-
-
Field Detail
-
NULLS_LAST_STRING_COMPARATOR
protected static final Comparator<String> NULLS_LAST_STRING_COMPARATOR
-
mappings
protected DeploymentMappings mappings
-
-
Method Detail
-
addDeploymentMappings
public void addDeploymentMappings(List<ImmutablePair<String,String>> mappings)
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 fromidList
that are not part of the mappings will be added to the list ofnull
deployment id mappings.- Parameters:
mappingsList
- the mappings to addidList
- the list of ids to check for missing elements concerning the mappings to add
-
getIds
public List<String> getIds()
- Returns:
- the list of ids that are mapped to deployment ids, ordered by deployment id
-
getMappings
public DeploymentMappings getMappings()
- Returns:
- the list of
DeploymentMapping
s
-
isEmpty
public boolean isEmpty()
-
createDeploymentMappings
protected void createDeploymentMappings()
-
-