org.drools.compiler.kproject
Class ReleaseIdImpl
java.lang.Object
org.drools.compiler.kproject.ReleaseIdImpl
- All Implemented Interfaces:
- Externalizable, Serializable, org.kie.api.builder.ReleaseId
public class ReleaseIdImpl
- extends Object
- implements org.kie.api.builder.ReleaseId, Externalizable
- See Also:
- Serialized Form
ReleaseIdImpl
public ReleaseIdImpl()
ReleaseIdImpl
public ReleaseIdImpl(String releaseId)
ReleaseIdImpl
public ReleaseIdImpl(String groupId,
String artifactId,
String version)
getGroupId
public String getGroupId()
- Specified by:
getGroupId in interface org.kie.api.builder.ReleaseId
getArtifactId
public String getArtifactId()
- Specified by:
getArtifactId in interface org.kie.api.builder.ReleaseId
getVersion
public String getVersion()
- Specified by:
getVersion in interface org.kie.api.builder.ReleaseId
setGroupId
public void setGroupId(String groupId)
setArtifactId
public void setArtifactId(String artifactId)
setVersion
public void setVersion(String version)
toString
public String toString()
- Overrides:
toString in class Object
toExternalForm
public String toExternalForm()
- Specified by:
toExternalForm in interface org.kie.api.builder.ReleaseId
getPomXmlPath
public String getPomXmlPath()
getPomPropertiesPath
public String getPomPropertiesPath()
getCompilationCachePathPrefix
public String getCompilationCachePathPrefix()
isSnapshot
public boolean isSnapshot()
- Specified by:
isSnapshot in interface org.kie.api.builder.ReleaseId
fromPropertiesString
public static org.kie.api.builder.ReleaseId fromPropertiesString(String string)
equals
public boolean equals(Object o)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
getSnapshotVersion
public String getSnapshotVersion()
setSnapshotVersion
public void setSnapshotVersion(String snapshotVersion)
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
- Specified by:
writeExternal in interface Externalizable
- Throws:
IOException
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
- Specified by:
readExternal in interface Externalizable
- Throws:
IOException
ClassNotFoundException
Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.