Package org.wildfly.galleon.maven
Class FeaturePackDependencySpec
- java.lang.Object
-
- org.wildfly.galleon.maven.FeaturePackDependencySpec
-
public class FeaturePackDependencySpec extends java.lang.ObjectDescribes 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 FeaturePackDependencySpeccreate(java.lang.String name, org.jboss.galleon.config.FeaturePackConfig fpConfig)static FeaturePackDependencySpeccreate(org.jboss.galleon.config.FeaturePackConfig fpConfig)booleanequals(java.lang.Object obj)java.lang.StringgetName()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.FeaturePackConfiggetTarget()Description of the feature-pack dependency.inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
create
public static FeaturePackDependencySpec create(org.jboss.galleon.config.FeaturePackConfig fpConfig)
-
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:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-