Package org.appformer.maven.support
Class AFReleaseIdImpl
- java.lang.Object
-
- org.appformer.maven.support.AFReleaseIdImpl
-
- All Implemented Interfaces:
Externalizable,Serializable,AFReleaseId
public class AFReleaseIdImpl extends Object implements AFReleaseId, Externalizable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AFReleaseIdImpl()AFReleaseIdImpl(String releaseId)AFReleaseIdImpl(String groupId, String artifactId, String version)AFReleaseIdImpl(String groupId, String artifactId, String version, String type)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static AFReleaseIdfromPropertiesStream(InputStream stream, String path)static AFReleaseIdfromPropertiesString(String path)StringgetArtifactId()StringgetCompilationCachePathPrefix()StringgetGroupId()StringgetPomPropertiesPath()static StringgetPomPropertiesPath(AFReleaseId releaseId)StringgetPomXmlPath()static StringgetPomXmlPath(AFReleaseId releaseId)StringgetSnapshotVersion()StringgetType()StringgetVersion()inthashCode()protected static booleanisEmpty(CharSequence str)booleanisSnapshot()voidreadExternal(ObjectInput in)voidsetArtifactId(String artifactId)voidsetGroupId(String groupId)voidsetSnapshotVersion(String snapshotVersion)voidsetVersion(String version)StringtoExternalForm()StringtoString()voidwriteExternal(ObjectOutput out)
-
-
-
Constructor Detail
-
AFReleaseIdImpl
public AFReleaseIdImpl()
-
AFReleaseIdImpl
public AFReleaseIdImpl(String releaseId)
-
-
Method Detail
-
getGroupId
public String getGroupId()
- Specified by:
getGroupIdin interfaceAFReleaseId
-
getArtifactId
public String getArtifactId()
- Specified by:
getArtifactIdin interfaceAFReleaseId
-
getVersion
public String getVersion()
- Specified by:
getVersionin interfaceAFReleaseId
-
setGroupId
public void setGroupId(String groupId)
-
setArtifactId
public void setArtifactId(String artifactId)
-
setVersion
public void setVersion(String version)
-
getType
public String getType()
-
toExternalForm
public String toExternalForm()
- Specified by:
toExternalFormin interfaceAFReleaseId
-
getPomXmlPath
public String getPomXmlPath()
-
getPomPropertiesPath
public String getPomPropertiesPath()
-
getPomXmlPath
public static String getPomXmlPath(AFReleaseId releaseId)
-
getPomPropertiesPath
public static String getPomPropertiesPath(AFReleaseId releaseId)
-
fromPropertiesString
public static AFReleaseId fromPropertiesString(String path)
-
fromPropertiesStream
public static AFReleaseId fromPropertiesStream(InputStream stream, String path)
-
getCompilationCachePathPrefix
public String getCompilationCachePathPrefix()
-
isSnapshot
public boolean isSnapshot()
- Specified by:
isSnapshotin interfaceAFReleaseId
-
getSnapshotVersion
public String getSnapshotVersion()
-
setSnapshotVersion
public void setSnapshotVersion(String snapshotVersion)
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
isEmpty
protected static boolean isEmpty(CharSequence str)
-
-