de.smartics.maven.plugin.buildmetadata.scm
Interface Revision

Package class diagram package Revision
All Known Implementing Classes:
MavenRevision, StringRevision

public interface Revision

Interface to allow different implementations of the revision information. Our application requires only the string representation.

Author:
Robert Reiner

Method Summary
 Date getDate()
          Returns the date of the revision.
 String getId()
          Returns the identifier of the revision.
 String toString()
          Returns the revision information as a String.
 

Method Detail

getId

String getId()
Returns the identifier of the revision.

Returns:
the identifier of the revision.

getDate

Date getDate()
Returns the date of the revision. This is the date the revision was checked in.

Returns:
the date of the revision.

toString

String toString()
Returns the revision information as a String.

Overrides:
toString in class Object
Returns:
the string representation of the revision.


Copyright © 2006-2012 Kronseder & Reiner GmbH - smartics. All Rights Reserved.