Class FeaturePackDependencySpec


  • public class FeaturePackDependencySpec
    extends java.lang.Object
    Describes a dependency of one feature-pack on another.
    Author:
    Alexey Loubyansky
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static FeaturePackDependencySpec create​(java.lang.String name, org.jboss.galleon.config.FeaturePackConfig fpConfig)  
      static FeaturePackDependencySpec create​(org.jboss.galleon.config.FeaturePackConfig fpConfig)  
      boolean equals​(java.lang.Object obj)  
      java.lang.String getName()
      Name of the dependency, which is optional, can be null if the name was not provided by the author of the feature-pack.
      org.jboss.galleon.config.FeaturePackConfig getTarget()
      Description of the feature-pack dependency.
      int hashCode()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Method Detail

      • create

        public static FeaturePackDependencySpec create​(java.lang.String name,
                                                       org.jboss.galleon.config.FeaturePackConfig fpConfig)
      • getName

        public java.lang.String getName()
        Name of the dependency, which is optional, can be null if the name was not provided by the author of the feature-pack. The name can be used in feature-pack package descriptions to express feature-pack package dependencies on the packages from the feature-pack dependency identified by the name.
        Returns:
        name of the dependency or null if the dependency was not given a name
      • getTarget

        public org.jboss.galleon.config.FeaturePackConfig getTarget()
        Description of the feature-pack dependency.
        Returns:
        dependency description
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object