org.abstracthorizon.extend.server.deployment
Class ModuleId
java.lang.Object
org.abstracthorizon.extend.server.deployment.ModuleId
- Direct Known Subclasses:
- Artifact
public class ModuleId
- extends Object
JAR_TYPE
public static final String JAR_TYPE
- See Also:
- Constant Field Values
groupId
protected String groupId
artifactId
protected String artifactId
version
protected String version
type
protected String type
classifier
protected String classifier
stringRepresentation
protected String stringRepresentation
ModuleId
public ModuleId()
ModuleId
public ModuleId(String moduleId)
ModuleId
public ModuleId(ModuleId copy)
getGroupId
public String getGroupId()
setGroupId
public void setGroupId(String groupId)
getArtifactId
public String getArtifactId()
setArtifactId
public void setArtifactId(String artifactId)
getVersion
public String getVersion()
setVersion
public void setVersion(String version)
getType
public String getType()
setType
public void setType(String type)
getClassifier
public String getClassifier()
setClassifier
public void setClassifier(String classifier)
toString
public String toString()
- Overrides:
toString
in class Object
updateStringRepresentation
protected void updateStringRepresentation()
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toSnapshotArtifact
public ModuleId toSnapshotArtifact()
toNonSnapshotArtifact
public ModuleId toNonSnapshotArtifact()
isSnapshot
public boolean isSnapshot()
getShortId
public String getShortId()
getFullId
public String getFullId()
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
equalsIgnoreSnapshot
public boolean equalsIgnoreSnapshot(Object o)
parseModuleIdString
public static ModuleId parseModuleIdString(String moduleId)
parseModuleIdString
public static ModuleId parseModuleIdString(ModuleId moduleId,
String s)
createModuleIdFromFileName
public static ModuleId createModuleIdFromFileName(String name)
createModuleIdFromFileName
public static ModuleId createModuleIdFromFileName(File file)
Copyright © 2005-2009 Abstract Horizon. All Rights Reserved.