public class ReleaseIdImpl extends Object implements org.kie.api.builder.ReleaseId, Externalizable
Constructor and Description |
---|
ReleaseIdImpl() |
ReleaseIdImpl(String releaseId) |
ReleaseIdImpl(String groupId,
String artifactId,
String version) |
ReleaseIdImpl(String groupId,
String artifactId,
String version,
String type) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static org.kie.api.builder.ReleaseId |
fromPropertiesStream(InputStream stream,
String path) |
static org.kie.api.builder.ReleaseId |
fromPropertiesString(String path) |
String |
getArtifactId() |
String |
getCompilationCachePathPrefix() |
String |
getGroupId() |
String |
getPomPropertiesPath() |
static String |
getPomPropertiesPath(org.kie.api.builder.ReleaseId releaseId) |
String |
getPomXmlPath() |
static String |
getPomXmlPath(org.kie.api.builder.ReleaseId releaseId) |
String |
getSnapshotVersion() |
String |
getVersion() |
int |
hashCode() |
boolean |
isSnapshot() |
void |
readExternal(ObjectInput in) |
void |
setArtifactId(String artifactId) |
void |
setGroupId(String groupId) |
void |
setSnapshotVersion(String snapshotVersion) |
void |
setVersion(String version) |
String |
toExternalForm() |
String |
toString() |
void |
writeExternal(ObjectOutput out) |
public ReleaseIdImpl()
public ReleaseIdImpl(String releaseId)
public String getGroupId()
getGroupId
in interface org.kie.api.builder.ReleaseId
public String getArtifactId()
getArtifactId
in interface org.kie.api.builder.ReleaseId
public String getVersion()
getVersion
in interface org.kie.api.builder.ReleaseId
public void setGroupId(String groupId)
public void setArtifactId(String artifactId)
public void setVersion(String version)
public String toExternalForm()
toExternalForm
in interface org.kie.api.builder.ReleaseId
public String getPomXmlPath()
public String getPomPropertiesPath()
public static String getPomXmlPath(org.kie.api.builder.ReleaseId releaseId)
public static String getPomPropertiesPath(org.kie.api.builder.ReleaseId releaseId)
public String getCompilationCachePathPrefix()
public boolean isSnapshot()
isSnapshot
in interface org.kie.api.builder.ReleaseId
public static org.kie.api.builder.ReleaseId fromPropertiesString(String path)
public static org.kie.api.builder.ReleaseId fromPropertiesStream(InputStream stream, String path)
public String getSnapshotVersion()
public void setSnapshotVersion(String snapshotVersion)
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.