it.geosolutions.geoserver.rest.decoder.about
Enum GSVersionDecoder.VERSION

java.lang.Object
  extended by java.lang.Enum<GSVersionDecoder.VERSION>
      extended by it.geosolutions.geoserver.rest.decoder.about.GSVersionDecoder.VERSION
All Implemented Interfaces:
Serializable, Comparable<GSVersionDecoder.VERSION>
Enclosing class:
GSVersionDecoder

public static enum GSVersionDecoder.VERSION
extends Enum<GSVersionDecoder.VERSION>


Enum Constant Summary
ABOVE
           
UNRECOGNIZED
           
v22
           
v23
           
v24
           
v25
           
 
Method Summary
 int getVersion()
           
static GSVersionDecoder.VERSION getVersion(String v)
           
static String print()
           
 String toString()
           
static GSVersionDecoder.VERSION valueOf(String name)
          Returns the enum constant of this type with the specified name.
static GSVersionDecoder.VERSION[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

UNRECOGNIZED

public static final GSVersionDecoder.VERSION UNRECOGNIZED

v22

public static final GSVersionDecoder.VERSION v22

v23

public static final GSVersionDecoder.VERSION v23

v24

public static final GSVersionDecoder.VERSION v24

v25

public static final GSVersionDecoder.VERSION v25

ABOVE

public static final GSVersionDecoder.VERSION ABOVE
Method Detail

values

public static GSVersionDecoder.VERSION[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (GSVersionDecoder.VERSION c : GSVersionDecoder.VERSION.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static GSVersionDecoder.VERSION valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getVersion

public int getVersion()

toString

public String toString()
Overrides:
toString in class Enum<GSVersionDecoder.VERSION>

getVersion

public static GSVersionDecoder.VERSION getVersion(String v)

print

public static String print()


Copyright © 2007-2014 GeoSolutions. All Rights Reserved.