com.liferay.portal.plugin
Class ModuleId
java.lang.Object
com.liferay.portal.plugin.ModuleId
- All Implemented Interfaces:
- Serializable
public class ModuleId
- extends Object
- implements Serializable
- See Also:
- Serialized Form
ModuleId
protected ModuleId(String moduleId)
ModuleId
protected ModuleId(String groupId,
String artifactId,
Version pluginVersion,
String type)
getInstance
public static ModuleId getInstance(String moduleId)
toString
public static String toString(String groupId,
String artifactId,
String version,
String type)
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
getArtifactId
public String getArtifactId()
getArtifactPath
public String getArtifactPath()
getArtifactWARName
public String getArtifactWARName()
getGroupId
public String getGroupId()
getPackageId
public String getPackageId()
getType
public String getType()
getVersion
public String getVersion()
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
isLaterVersionThan
public boolean isLaterVersionThan(String version)
isPreviousVersionThan
public boolean isPreviousVersionThan(String version)
isSameVersionAs
public boolean isSameVersionAs(String version)
toString
public String toString()
- Overrides:
toString
in class Object