|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.petals.admin.api.artifact.Artifact
public abstract class Artifact
This class represents a remote JBI artifact archive.
| Constructor Summary | |
|---|---|
protected |
Artifact(java.lang.String name,
java.lang.String type)
Create a new artifact |
protected |
Artifact(java.lang.String name,
java.lang.String version,
java.lang.String type)
Create a new artifact |
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getName()
Return the name of the artifact |
java.lang.String |
getType()
Return the type of the artifact. |
java.lang.String |
getVersion()
Return the version of the artifact |
int |
hashCode()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected Artifact(java.lang.String name,
java.lang.String type)
name - the name of the artifact
protected Artifact(java.lang.String name,
java.lang.String version,
java.lang.String type)
name - the name of the artifactversion - the version of the artifact| Method Detail |
|---|
public java.lang.String getType()
public java.lang.String getName()
public java.lang.String getVersion()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||