com.sibvisions.util
Enum Version.Level

java.lang.Object
  extended by java.lang.Enum<Version.Level>
      extended by com.sibvisions.util.Version.Level
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Version.Level>
Enclosing class:
Version

public static enum Version.Level
extends java.lang.Enum<Version.Level>

the supported version levels.


Enum Constant Summary
Build
          Build.
Major
          Major.
Minor
          Minor.
Revision
          Revision.
 
Method Summary
static Version.Level valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Version.Level[] 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, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

Major

public static final Version.Level Major
Major.


Minor

public static final Version.Level Minor
Minor.


Build

public static final Version.Level Build
Build.


Revision

public static final Version.Level Revision
Revision.

Method Detail

values

public static Version.Level[] 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 (Version.Level c : Version.Level.values())
    System.out.println(c);

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

valueOf

public static Version.Level valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.