Package org.kie.util.maven.support
Class ReleaseIdImpl
java.lang.Object
org.kie.util.maven.support.ReleaseIdImpl
- All Implemented Interfaces:
Externalizable,Serializable,Comparable<ReleaseId>,ReleaseId
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionReleaseIdImpl(String releaseId) ReleaseIdImpl(String groupId, String artifactId, String version) ReleaseIdImpl(String groupId, String artifactId, String version, String type) -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic ReleaseIdfromPropertiesStream(InputStream stream, String path) static ReleaseIdImplfromPropertiesString(String path) static StringgetPomPropertiesPath(ReleaseId releaseId) static StringgetPomXmlPath(ReleaseId releaseId) getType()inthashCode()protected static booleanisEmpty(CharSequence str) booleanvoidstatic StringresolveVersion(String versionString, PomModel projectPomModel) voidsetArtifactId(String artifactId) voidsetGroupId(String groupId) voidsetSnapshotVersion(String snapshotVersion) voidsetVersion(String version) toString()void
-
Constructor Details
-
ReleaseIdImpl
public ReleaseIdImpl() -
ReleaseIdImpl
-
ReleaseIdImpl
-
ReleaseIdImpl
-
-
Method Details
-
getGroupId
- Specified by:
getGroupIdin interfaceReleaseId
-
getArtifactId
- Specified by:
getArtifactIdin interfaceReleaseId
-
getVersion
- Specified by:
getVersionin interfaceReleaseId
-
setGroupId
-
setArtifactId
-
setVersion
-
getType
-
toString
-
toExternalForm
- Specified by:
toExternalFormin interfaceReleaseId
-
getPomXmlPath
-
getPomPropertiesPath
-
getPomXmlPath
-
getPomPropertiesPath
-
fromPropertiesString
-
fromPropertiesStream
-
getCompilationCachePathPrefix
-
isSnapshot
public boolean isSnapshot()- Specified by:
isSnapshotin interfaceReleaseId
-
equals
-
hashCode
public int hashCode() -
getSnapshotVersion
-
setSnapshotVersion
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
isEmpty
-
resolveVersion
-