Package org.kie.util.maven.support
Class ReleaseIdImpl
- java.lang.Object
-
- org.kie.util.maven.support.ReleaseIdImpl
-
- All Implemented Interfaces:
Externalizable,Serializable,Comparable<org.kie.api.builder.ReleaseId>,org.kie.api.builder.ReleaseId
public class ReleaseIdImpl extends Object implements org.kie.api.builder.ReleaseId, Externalizable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ReleaseIdImpl()ReleaseIdImpl(String releaseId)ReleaseIdImpl(String groupId, String artifactId, String version)ReleaseIdImpl(String groupId, String artifactId, String version, String type)
-
Method Summary
-
-
-
Method Detail
-
getGroupId
public String getGroupId()
- Specified by:
getGroupIdin interfaceorg.kie.api.builder.ReleaseId
-
getArtifactId
public String getArtifactId()
- Specified by:
getArtifactIdin interfaceorg.kie.api.builder.ReleaseId
-
getVersion
public String getVersion()
- Specified by:
getVersionin interfaceorg.kie.api.builder.ReleaseId
-
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 interfaceorg.kie.api.builder.ReleaseId
-
getPomXmlPath
public String getPomXmlPath()
-
getPomPropertiesPath
public String getPomPropertiesPath()
-
getPomXmlPath
public static String getPomXmlPath(org.kie.api.builder.ReleaseId releaseId)
-
getPomPropertiesPath
public static String getPomPropertiesPath(org.kie.api.builder.ReleaseId releaseId)
-
fromPropertiesString
public static ReleaseIdImpl fromPropertiesString(String path)
-
fromPropertiesStream
public static org.kie.api.builder.ReleaseId fromPropertiesStream(InputStream stream, String path)
-
getCompilationCachePathPrefix
public String getCompilationCachePathPrefix()
-
isSnapshot
public boolean isSnapshot()
- Specified by:
isSnapshotin interfaceorg.kie.api.builder.ReleaseId
-
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)
-
-