|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.dpml.lang.AbstractDirective
net.dpml.lang.Classpath
public final class Classpath
A Plugin class contains immutable data about a plugin based on a descriptor resolved from a 'plugin' artifact.
| Constructor Summary | |
|---|---|
Classpath()
Creation of a empty classpath definition. |
|
Classpath(Classpath base,
Classpath extension)
Creation of a new classpath definition. |
|
Classpath(Classpath base,
URI[] systemUris,
URI[] publicUris,
URI[] protectedUris,
URI[] privateUris)
Creation of a new classpath definition. |
|
Classpath(URI[] systemUris,
URI[] publicUris,
URI[] protectedUris,
URI[] privateUris)
Creation of a new classpath definition. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object other)
Compare this object with another for equality. |
Classpath |
getBaseClasspath()
Return the base classpath. |
URI[] |
getDependencies(Category category)
Return the classloader dependencies relative to a supplied classloader category. |
int |
hashCode()
Return the hashcode for the plugin definition. |
String |
toString()
Return the classpath as a string. |
| Methods inherited from class net.dpml.lang.AbstractDirective |
|---|
equals, hashArray, hashValue |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Classpath()
public Classpath(Classpath base,
Classpath extension)
base - the base classpath from which this classpath is derivedextension - the extended classpath definition
public Classpath(URI[] systemUris,
URI[] publicUris,
URI[] protectedUris,
URI[] privateUris)
systemUris - an array of uris representing the system classpath extensionspublicUris - an array of uris representing the public classpath entriesprotectedUris - an array of uris representing protected classpath entriesprivateUris - an array of uris representing private classpath entries
public Classpath(Classpath base,
URI[] systemUris,
URI[] publicUris,
URI[] protectedUris,
URI[] privateUris)
base - super classpath (may be null)systemUris - an array of uris representing the system classpath extensionspublicUris - an array of uris representing the public classpath entriesprotectedUris - an array of uris representing protected classpath entriesprivateUris - an array of uris representing private classpath entries| Method Detail |
|---|
public Classpath getBaseClasspath()
public URI[] getDependencies(Category category)
category - the classloader category
public boolean equals(Object other)
equals in class AbstractDirectiveother - the other object
public int hashCode()
hashCode in class AbstractDirectivepublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||