de.smartics.maven.plugin.buildmetadata.scm.maven
Class MavenRevision
java.lang.Object
de.smartics.maven.plugin.buildmetadata.scm.maven.StringRevision
de.smartics.maven.plugin.buildmetadata.scm.maven.MavenRevision
-
All Implemented Interfaces:
-
Revision,
Serializable
-
public final class MavenRevision
-
extends
StringRevision
The revision implementation for the Maven SCM.
-
Author:
-
Robert Reiner
-
See Also:
-
Serialized Form
MavenRevision
public MavenRevision(ScmVersion version,
Date date)
-
Default constructor.
-
Parameters:
-
version
- the SCM version provided by Maven.
-
date
- the revision date.
-
See Also:
-
StringRevision.StringRevision(java.lang.String, java.util.Date)
getType
public String getType()
-
Returns the type of the revision. May be for instance trunk, branch or tag.
-
-
Returns:
-
the type of the revision.
toString
public String toString()
-
Returns the revision information as a
String
.
-
-
Specified by:
-
toString
in interface
Revision
-
Overrides:
-
toString
in class
StringRevision
-
-
Returns:
-
the string representation of the revision.
Copyright © 2006-2012
Kronseder & Reiner GmbH - smartics. All Rights Reserved.