|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mevenide.repository.RepoPathElement
Data placeholder for local and remote repository information. Can contain incomplete values, the means of getting more complete data is calling getChildren()
| Field Summary | |
static int |
LEVEL_ARTIFACT
constant returned from getLevel() denotes an instance that has at least the groupId, type and artifactId filled out. |
static int |
LEVEL_GROUP
constant returned from getLevel(), denotes an instance that has at least the groupId filled out. |
static int |
LEVEL_ROOT
constant returned from getLevel(), denotes an instance that has nothing filled out. |
static int |
LEVEL_TYPE
constant returned from getLevel() denotes an instance that has at least the groupId and type filled out. |
static int |
LEVEL_VERSION
constant returned from getLevel() denotes an instance that has all fields filled out. |
| Constructor Summary | |
RepoPathElement(IRepositoryReader read)
Creates a new instance of RepoPathElement |
|
RepoPathElement(IRepositoryReader read,
java.lang.String groupId,
java.lang.String type,
java.lang.String version,
java.lang.String artifactId,
java.lang.String ext)
|
|
| Method Summary | |
java.lang.String |
getArtifactId()
|
RepoPathElement[] |
getChildren()
Get an array of RepoPathElements that share the fields of the current one and have additional differentiating information. |
java.lang.String |
getExtension()
|
java.lang.String |
getGroupId()
|
int |
getLevel()
|
IRepositoryReader |
getReader()
|
java.lang.String |
getRelativeURIPath()
get path to relative to the root of repository. |
java.lang.String |
getType()
|
java.net.URI |
getURI()
get uri to the path element. |
java.lang.String |
getVersion()
|
boolean |
isLeaf()
returns true if all it's fields are filled out, identifying the artifact in an exact manner. |
boolean |
isRemote()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int LEVEL_ROOT
public static final int LEVEL_GROUP
public static final int LEVEL_TYPE
public static final int LEVEL_ARTIFACT
public static final int LEVEL_VERSION
| Constructor Detail |
public RepoPathElement(IRepositoryReader read)
public RepoPathElement(IRepositoryReader read,
java.lang.String groupId,
java.lang.String type,
java.lang.String version,
java.lang.String artifactId,
java.lang.String ext)
| Method Detail |
public java.lang.String getGroupId()
public java.lang.String getArtifactId()
public java.lang.String getVersion()
public java.lang.String getType()
public java.lang.String getExtension()
public boolean isLeaf()
public int getLevel()
public java.lang.String getRelativeURIPath()
public java.net.URI getURI()
public RepoPathElement[] getChildren()
throws java.lang.Exception
java.lang.Exceptionpublic boolean isRemote()
public IRepositoryReader getReader()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||