Class BatchElementConfiguration


  • public class BatchElementConfiguration
    extends java.lang.Object
    Configuration information on the elements of a batch
    • 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
    • Constructor Detail

      • BatchElementConfiguration

        public BatchElementConfiguration()
    • 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 from idList that are not part of the mappings will be added to the list of null deployment id mappings.
        Parameters:
        mappingsList - the mappings to add
        idList - 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
      • isEmpty

        public boolean isEmpty()
      • createDeploymentMappings

        protected void createDeploymentMappings()