Class BatchElementConfiguration
- java.lang.Object
-
- org.camunda.bpm.engine.impl.batch.BatchElementConfiguration
-
public class BatchElementConfiguration extends java.lang.ObjectConfiguration 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>>collectedMappingsprotected java.util.List<java.lang.String>idsprotected DeploymentMappingsmappingsprotected 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 voidaddDeploymentMappings(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.voidaddDeploymentMappings(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 voidcreateDeploymentMappings()java.util.List<java.lang.String>getIds()DeploymentMappingsgetMappings()booleanisEmpty()
-
-
-
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 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
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
DeploymentMappings
-
isEmpty
public boolean isEmpty()
-
createDeploymentMappings
protected void createDeploymentMappings()
-
-