info.sswap.api.model
Class VersionInformation

java.lang.Object
  extended by info.sswap.api.model.VersionInformation

public class VersionInformation
extends java.lang.Object

Provides information about the version of Java API.

Author:
Blazej Bulka

Method Summary
static VersionInformation get()
          Static getter for the version information.
 java.lang.String getReleaseDate()
          Returns the date of the release
 java.lang.String getVersionString()
          Returns the version of Java API
 java.lang.String toString()
          Returns information about the version and release date as a single string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

get

public static final VersionInformation get()
Static getter for the version information.

Returns:
this class

getVersionString

public java.lang.String getVersionString()
Returns the version of Java API

Returns:
the version of Java API or "(unreleased)" if the version information is missing

getReleaseDate

public java.lang.String getReleaseDate()
Returns the date of the release

Returns:
the date of the release or "(unknown)" if the date is not known

toString

public java.lang.String toString()
Returns information about the version and release date as a single string.

Overrides:
toString in class java.lang.Object
Returns:
the string containing information about the version and release date of this software


Copyright (c) 2011, iPlant Collaborative, University of Arizona, Cold Spring Harbor Laboratories, University of Texas at Austin.