Class BatchElementConfiguration
- java.lang.Object
-
- org.camunda.bpm.engine.impl.batch.BatchElementConfiguration
-
public class BatchElementConfiguration extends java.lang.Object
Configuration information on the elements of a batch
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.SortedMap<java.lang.String,java.util.Set<java.lang.String>>
collectedMappings
protected java.util.List<java.lang.String>
ids
protected DeploymentMappings
mappings
protected static java.util.Comparator<java.lang.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(java.util.List<ImmutablePair<java.lang.String,java.lang.String>> mappings)
Add mappings of deployment ids to resource ids to the overall element mapping list.void
addDeploymentMappings(java.util.List<ImmutablePair<java.lang.String,java.lang.String>> mappingsList, java.util.Collection<java.lang.String> idList)
Add mappings of deployment ids to resource ids to the overall element mapping list.protected void
createDeploymentMappings()
java.util.List<java.lang.String>
getIds()
DeploymentMappings
getMappings()
boolean
isEmpty()
-
-
-
Field Detail
-
NULLS_LAST_STRING_COMPARATOR
protected static final java.util.Comparator<java.lang.String> NULLS_LAST_STRING_COMPARATOR
-
collectedMappings
protected java.util.SortedMap<java.lang.String,java.util.Set<java.lang.String>> collectedMappings
-
ids
protected java.util.List<java.lang.String> ids
-
mappings
protected DeploymentMappings mappings
-
-
Method Detail
-
addDeploymentMappings
public void addDeploymentMappings(java.util.List<ImmutablePair<java.lang.String,java.lang.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(java.util.List<ImmutablePair<java.lang.String,java.lang.String>> mappingsList, java.util.Collection<java.lang.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 java.util.List<java.lang.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()
-
-