Class DistributionDescription


  • public class DistributionDescription
    extends Object
    Class contains information about Distribution Support
    • Constructor Detail

      • DistributionDescription

        public DistributionDescription()
    • Method Detail

      • getUserSupportMode

        public Collection<UserSupportMode> getUserSupportMode​(UUID uuid)
        Gets UserSupportMode of configuration item by its id
        Parameters:
        uuid - id of the configuration item, can't be null
        Returns:
        UserSupportMode of configuration item by its id, can't be null. Returns empty collection if there is no information about distribution support for item with this id.
      • createParent

        public DistributionDescription.DistributionSupportConfigurationInfo createParent​(UUID id)
        Creates distribution support information for parent configuration with id
        Parameters:
        id - id of the parent configuration, can't be null
        Returns:
        created distribution support information for parent configuration, never null
      • getChildrenIds

        public Collection<UUID> getChildrenIds​(UUID parentId)
        Gets set of id corresponding to the configuration items for parent with concrete id
        Parameters:
        parentId - parent id the configuration item, can't be null
        Returns:
        set of id corresponding to the configuration items for parent with concrete id, never null
      • isNormalConfiguration

        public boolean isNormalConfiguration()
        Gets configuration file state
        Returns:
        true if it is normal configuration, false if it is distributive of provider
      • setNormalConfiguration

        public void setNormalConfiguration​(boolean isNormalConfiguration)
        Sets configuration file state
        Parameters:
        isNormalConfiguration - true if it is normal configuration, false if it is distributive of provider