Class DecompositionDescriptor


  • @OpenApi
    public class DecompositionDescriptor
    extends java.lang.Object
    Read only information about project decomposition. Includes information about features, attached projects and project properties.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  com.nomagic.ci.persistence.DecompositionDescriptor.DataSetDescriptor
      Represents a light-weight description of a feature data set
      static class  com.nomagic.ci.persistence.DecompositionDescriptor.ProjectFeatureDescriptor
      Represents a light-weight description of feature installed on a project
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.util.Collection<? extends com.nomagic.ci.persistence.DecompositionDescriptor.ProjectFeatureDescriptor> features  
      protected java.lang.String id  
      protected com.nomagic.ci.persistence.ProjectDescriptor projectDescriptor  
      protected java.util.Map<java.lang.String,​java.lang.String> properties  
    • Constructor Summary

      Constructors 
      Constructor Description
      DecompositionDescriptor​(com.nomagic.ci.persistence.ProjectDescriptor projectDescriptor, java.lang.String id, java.util.Map<java.lang.String,​java.lang.String> properties, java.util.Collection<com.nomagic.ci.persistence.DecompositionDescriptor.ProjectFeatureDescriptor> features)
      Creates decomposition descriptor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Collection<? extends com.nomagic.ci.persistence.DecompositionDescriptor.ProjectFeatureDescriptor> getFeatures()
      Gets unmodifiable non null collection of features installed on this project
      java.lang.String getId()
      Gets the id from ProjectDescriptor.
      com.nomagic.ci.persistence.ProjectDescriptor getProjectDescriptor()
      Returns project descriptor.
      java.util.Map<java.lang.String,​java.lang.String> getProperties()
      Gets project properties
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • id

        protected java.lang.String id
      • properties

        protected java.util.Map<java.lang.String,​java.lang.String> properties
      • features

        protected java.util.Collection<? extends com.nomagic.ci.persistence.DecompositionDescriptor.ProjectFeatureDescriptor> features
      • projectDescriptor

        protected com.nomagic.ci.persistence.ProjectDescriptor projectDescriptor
    • Constructor Detail

      • DecompositionDescriptor

        public DecompositionDescriptor​(com.nomagic.ci.persistence.ProjectDescriptor projectDescriptor,
                                       java.lang.String id,
                                       java.util.Map<java.lang.String,​java.lang.String> properties,
                                       java.util.Collection<com.nomagic.ci.persistence.DecompositionDescriptor.ProjectFeatureDescriptor> features)
        Creates decomposition descriptor
        Parameters:
        projectDescriptor - project descriptor
        id - project id
        properties - project properties
        features - features
    • Method Detail

      • getProjectDescriptor

        public com.nomagic.ci.persistence.ProjectDescriptor getProjectDescriptor()
        Returns project descriptor.
        Returns:
        descriptor
      • getFeatures

        public java.util.Collection<? extends com.nomagic.ci.persistence.DecompositionDescriptor.ProjectFeatureDescriptor> getFeatures()
        Gets unmodifiable non null collection of features installed on this project
        Returns:
        collection of DecompositionDescriptor.ProjectFeatureDescriptor
      • getProperties

        public java.util.Map<java.lang.String,​java.lang.String> getProperties()
        Gets project properties
        Returns:
        decomposition properties
      • getId

        public java.lang.String getId()
        Gets the id from ProjectDescriptor.
        Returns:
        the id value