public final class ProjectIdentifier extends Object
1 - All Kuali projects produce only one artifact containing executable java code and associated resources.
2 - There is only one version of any given Kuali project in the java classpath.
Thus, groupId + artifactId is a simple way to uniquely namespace project resources at runtime. For example, files residing in the kuali-util project at the following locations:
src/main/resources/org/kuali/common/kuali-util/foo.txt src/main/resources/org/kuali/common/kuali-util/bar.txtCan be uniquely referenced at runtime as:
classpath:org/kuali/common/kuali-util/foo.txt classpath:org/kuali/common/kuali-util/bar.txt
Constructor and Description |
---|
ProjectIdentifier(String groupId,
String artifactId) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object) |
String |
getArtifactId() |
String |
getGroupId() |
String |
getIdentifier() |
int |
hashCode() |
String |
toString() |
public ProjectIdentifier(String groupId, String artifactId)
public String getGroupId()
public String getArtifactId()
public String getIdentifier()
Copyright © 2010–2014 The Kuali Foundation. All rights reserved.