public class ReleaseInformation extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
KEY_ARTIFACT_ID
The Maven Artifact ID key (artifactId)
|
static String |
KEY_BUILD_DATE
The build date, e.g. 2012-12-19 11:17:24 +0100
|
static String |
KEY_GROUP_ID
The Maven Group ID key (groupId)
|
static String |
KEY_NAME
The Maven name key (name)
|
static String |
KEY_SVN_COMMITTED_DATE
The Subversion committed date key (committedDate), e.g. 2012-12-19 11:17:24 +0100
|
static String |
KEY_SVN_COMMITTED_REVISION
The Subversion committed revision key (committedRevision)
|
static String |
KEY_SVN_MIXED_REVISIONS
The Subversion mixed revision key (mixedRevisions)
|
static String |
KEY_SVN_PATH
The Subversion path key (path)
|
static String |
KEY_SVN_REPOSITORY
The Subversion repository key (repository)
|
static String |
KEY_SVN_REVISION
The Subversion revision key (revision)
|
static String |
KEY_SVN_SPECIAL_STATUS
The Subversion special status key (specialStatus)
|
static String |
KEY_SVN_STATUS
The Subversion status key (status)
|
static String |
KEY_VERSION
The Maven version key (version)
|
| Constructor and Description |
|---|
ReleaseInformation()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getArtifactId()
Returns the artifactId.
|
RsDate |
getBuildDate()
Returns the buildDate.
|
String |
getGroupId()
Returns the groupId.
|
String |
getName()
Returns the name.
|
RsDate |
getSvnCommittedDate()
Returns the svnCommittedDate.
|
long |
getSvnCommittedRevision()
Returns the svnCommittedRevision.
|
String |
getSvnPath()
Returns the svnPath.
|
String |
getSvnRepository()
Returns the svnRepository.
|
long |
getSvnRevision()
Returns the svnRevision.
|
String |
getSvnSpecialStatus()
Returns the svnSpecialStatus.
|
String |
getSvnStatus()
Returns the svnStatus.
|
String |
getVersion()
Returns the version.
|
int |
hashCode() |
boolean |
isSnapshot()
Returns whether this is a Snapshot version.
|
boolean |
isSvnMixedRevisions()
Returns the svnMixedRevisions.
|
boolean |
isValid()
Checks whether this info is valid.
|
void |
set(String key,
String value)
Sets the information with given key.
|
void |
setArtifactId(String artifactId)
Sets the artifactId.
|
void |
setBuildDate(Date buildDate)
Sets the buildDate.
|
void |
setBuildDate(RsDate buildDate)
Sets the buildDate.
|
void |
setGroupId(String groupId)
Sets the groupId.
|
void |
setName(String name)
Sets the name.
|
void |
setSvnCommittedDate(Date svnCommittedDate)
Sets the svnCommittedDate.
|
void |
setSvnCommittedDate(RsDate svnCommittedDate)
Sets the svnCommittedDate.
|
void |
setSvnCommittedRevision(long svnCommittedRevision)
Sets the svnCommittedRevision.
|
void |
setSvnMixedRevisions(boolean svnMixedRevisions)
Sets the svnMixedRevisions.
|
void |
setSvnPath(String svnPath)
Sets the svnPath.
|
void |
setSvnRepository(String svnRepository)
Sets the svnRepository.
|
void |
setSvnRevision(long svnRevision)
Sets the svnRevision.
|
void |
setSvnSpecialStatus(String svnSpecialStatus)
Sets the svnSpecialStatus.
|
void |
setSvnStatus(String svnStatus)
Sets the svnStatus.
|
void |
setVersion(String version)
Sets the version.
|
String |
toString() |
public static final String KEY_GROUP_ID
public static final String KEY_ARTIFACT_ID
public static final String KEY_VERSION
public static final String KEY_NAME
public static final String KEY_SVN_REPOSITORY
public static final String KEY_SVN_PATH
public static final String KEY_SVN_REVISION
public static final String KEY_SVN_MIXED_REVISIONS
public static final String KEY_SVN_COMMITTED_REVISION
public static final String KEY_SVN_COMMITTED_DATE
public static final String KEY_SVN_STATUS
public static final String KEY_SVN_SPECIAL_STATUS
public static final String KEY_BUILD_DATE
public String getGroupId()
public void setGroupId(String groupId)
groupId - the groupId to setpublic String getArtifactId()
public void setArtifactId(String artifactId)
artifactId - the artifactId to setpublic String getVersion()
public void setVersion(String version)
version - the version to setpublic String getName()
public void setName(String name)
name - the name to setpublic String getSvnRepository()
public void setSvnRepository(String svnRepository)
svnRepository - the svnRepository to setpublic String getSvnPath()
public void setSvnPath(String svnPath)
svnPath - the svnPath to setpublic long getSvnRevision()
public void setSvnRevision(long svnRevision)
svnRevision - the svnRevision to setpublic boolean isSvnMixedRevisions()
public void setSvnMixedRevisions(boolean svnMixedRevisions)
svnMixedRevisions - the svnMixedRevisions to setpublic long getSvnCommittedRevision()
public void setSvnCommittedRevision(long svnCommittedRevision)
svnCommittedRevision - the svnCommittedRevision to setpublic RsDate getSvnCommittedDate()
public void setSvnCommittedDate(RsDate svnCommittedDate)
svnCommittedDate - the svnCommittedDate to setpublic void setSvnCommittedDate(Date svnCommittedDate)
svnCommittedDate - the svnCommittedDate to setpublic String getSvnStatus()
public void setSvnStatus(String svnStatus)
svnStatus - the svnStatus to setpublic String getSvnSpecialStatus()
public void setSvnSpecialStatus(String svnSpecialStatus)
svnSpecialStatus - the svnSpecialStatus to setpublic RsDate getBuildDate()
public void setBuildDate(RsDate buildDate)
buildDate - the buildDate to setpublic void setBuildDate(Date buildDate)
buildDate - the buildDate to setpublic void set(String key, String value) throws ParseException
key - key stringvalue - value string (will be converted)ParseExceptionpublic boolean isValid()
public boolean isSnapshot()
The method returns true when the version is either null or
the version ends with "-SNAPSHOT".
true when this is a snapshot versionCopyright © 2014. All rights reserved.