|
org.openide.modules 6.5.31 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.openide.modules.Dependency
public final class Dependency
A dependency a module can have.
Field Summary | |
---|---|
static int |
COMPARE_ANY
No comparison, just require the dependency to be present. |
static int |
COMPARE_IMPL
Comparison by implementation version. |
static int |
COMPARE_SPEC
Comparison by specification version. |
static String |
IDE_IMPL
Deprecated. request dependencies on direct modules |
static String |
IDE_NAME
Deprecated. request dependencies on direct modules |
static SpecificationVersion |
IDE_SPEC
Deprecated. request dependencies on direct modules |
static String |
JAVA_IMPL
Implementation version of the Java platform. |
static String |
JAVA_NAME
Name, for purposes of dependencies, of the Java platform. |
static SpecificationVersion |
JAVA_SPEC
Specification version of the Java platform. |
static int |
TYPE_IDE
Dependency on the IDE. |
static int |
TYPE_JAVA
Dependency on Java. |
static int |
TYPE_MODULE
Dependency on another module. |
static int |
TYPE_PACKAGE
Dependency on a package. |
static int |
TYPE_REQUIRES
Dependency on a token. |
static String |
VM_IMPL
Implementation version of the Java VM. |
static String |
VM_NAME
Name, for purposes of dependencies, of the Java VM. |
static SpecificationVersion |
VM_SPEC
Specification version of the Java VM. |
Method Summary | |
---|---|
static Set |
create(int type,
String body)
Parse dependencies from tags. |
boolean |
equals(Object o)
Overridden to compare contents. |
int |
getComparison()
Get the comparison type. |
String |
getName()
Get the name of the depended-on object. |
int |
getType()
Get the type. |
String |
getVersion()
Get the version to compare against (or null). |
int |
hashCode()
Overridden to hash by contents. |
String |
toString()
Unspecified string representation for debugging. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int TYPE_MODULE
public static final int TYPE_PACKAGE
public static final int TYPE_JAVA
public static final int TYPE_IDE
public static final int TYPE_REQUIRES
ModuleInfo.getProvides()
,
Constant Field Valuespublic static final int COMPARE_SPEC
public static final int COMPARE_IMPL
public static final int COMPARE_ANY
public static final String IDE_NAME
public static final SpecificationVersion IDE_SPEC
public static final String IDE_IMPL
public static final String JAVA_NAME
public static final SpecificationVersion JAVA_SPEC
public static final String JAVA_IMPL
public static final String VM_NAME
public static final SpecificationVersion VM_SPEC
public static final String VM_IMPL
Method Detail |
---|
public static Set create(int type, String body) throws IllegalArgumentException
type
- like Dependency.typebody
- actual text of tag body; if null
, returns nothing
IllegalArgumentException
- if they are malformed or inconsistentpublic final int getType()
public final String getName()
public final int getComparison()
public final String getVersion()
public boolean equals(Object o)
public int hashCode()
public String toString()
|
org.openide.modules 6.5.31 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |