|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.classloading.spi.helpers.NameAndVersionRangeSupport
org.jboss.classloading.spi.metadata.helpers.AbstractRequirement
org.jboss.classloading.plugins.metadata.ModuleRequirement
public class ModuleRequirement
ModuleRequirement.
| Constructor Summary | |
|---|---|
ModuleRequirement()
Create a new ModuleRequirement. |
|
ModuleRequirement(String name)
Create a new ModuleRequirement with no version constraint |
|
ModuleRequirement(String name,
VersionRange versionRange)
Create a new ModuleRequirement. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
boolean |
wantReExports()
For module requirements we want re-exports |
| Methods inherited from class org.jboss.classloading.spi.metadata.helpers.AbstractRequirement |
|---|
isConsistent, isConsistent, isDynamic, isOptional, isReExport, setDynamic, setOptional, setReExport, toString, toString |
| Methods inherited from class org.jboss.classloading.spi.helpers.NameAndVersionRangeSupport |
|---|
getFrom, getFromVersion, getName, getTo, getToVersion, getVersionRange, hashCode, isFromVersionInclusive, isToVersionInclusive, setFrom, setFromVersion, setFromVersionInclusive, setName, setTo, setToVersion, setToVersionInclusive, setVersion, setVersionRange |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ModuleRequirement()
public ModuleRequirement(String name)
name - the name
IllegalArgumentException - for a null name
public ModuleRequirement(String name,
VersionRange versionRange)
name - the nameversionRange - the version range - pass null for all versions
IllegalArgumentException - for a null name| Method Detail |
|---|
public boolean wantReExports()
wantReExports in interface RequirementwantReExports in class AbstractRequirementpublic boolean equals(Object obj)
equals in class AbstractRequirement
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||