|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.avalon.composition.data.ResourceDirective
Constructor Summary | |
ResourceDirective(String group,
String name,
String version)
Creation of a new resource directive. |
|
ResourceDirective(String group,
String name,
String version,
String type)
Creation of a new resource directive. |
Method Summary | |
static ResourceDirective |
createResourceDirective(String id,
String version)
Creation of a new resource directive. |
static ResourceDirective |
createResourceDirective(String id,
String version,
String type)
Creation of a new resource directive. |
String |
getGroup()
Return the group of the artifact. |
String |
getId()
Return the composite identifier. |
String |
getName()
Return the artifact name |
String |
getType()
Return the type of the artifact. |
String |
getVersion()
Return the version of the artifact. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ResourceDirective(String group, String name, String version)
group
- the artifact groupname
- the artifact nameversion
- the artifact versionpublic ResourceDirective(String group, String name, String version, String type)
group
- the artifact groupname
- the artifact nameversion
- the artifact versionMethod Detail |
public String getId()
public String getName()
public String getGroup()
public String getVersion()
public String getType()
public static ResourceDirective createResourceDirective(String id, String version)
id
- the artifact idversion
- the artifact versionpublic static ResourceDirective createResourceDirective(String id, String version, String type)
id
- the artifact idversion
- the artifact version
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |