no.inspera.services.pedal
Enum PEDAL.Level

java.lang.Object
  extended by java.lang.Enum<PEDAL.Level>
      extended by no.inspera.services.pedal.PEDAL.Level
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<PEDAL.Level>
Enclosing interface:
PEDAL

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

Level enum. Definition of levels supported by the system.


Enum Constant Summary
advanced
           
low
           
mid
           
 
Method Summary
 int highThreshold()
           
 int lowThreshold()
           
static PEDAL.Level valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static PEDAL.Level[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

low

public static final PEDAL.Level low

mid

public static final PEDAL.Level mid

advanced

public static final PEDAL.Level advanced
Method Detail

values

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

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

valueOf

public static PEDAL.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

lowThreshold

public int lowThreshold()

highThreshold

public int highThreshold()


Copyright © 2008 Naimdjon Takhirov (naimdjon@gmail.com). All Rights Reserved.