org.opennms.netmgt.config.rrd.types
Class Backend

java.lang.Object
  extended by org.opennms.netmgt.config.rrd.types.Backend
All Implemented Interfaces:
Serializable

public class Backend
extends Object
implements Serializable

Class Backend.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Field Summary
static Backend FILE
          The instance of the FILE type
static int FILE_TYPE
          The FILE type
static Backend MEMORY
          The instance of the MEMORY type
static int MEMORY_TYPE
          The MEMORY type
static Backend NIO
          The instance of the NIO type
static int NIO_TYPE
          The NIO type
 
Method Summary
static Enumeration<Object> enumerate()
          Method enumerate.Returns an enumeration of all possible instances of Backend
 int getType()
          Method getType.Returns the type of this Backend
 String toString()
          Method toString.Returns the String representation of this Backend
static Backend valueOf(String string)
          Method valueOf.Returns a new Backend based on the given String value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

FILE_TYPE

public static final int FILE_TYPE
The FILE type

See Also:
Constant Field Values

FILE

public static final Backend FILE
The instance of the FILE type


NIO_TYPE

public static final int NIO_TYPE
The NIO type

See Also:
Constant Field Values

NIO

public static final Backend NIO
The instance of the NIO type


MEMORY_TYPE

public static final int MEMORY_TYPE
The MEMORY type

See Also:
Constant Field Values

MEMORY

public static final Backend MEMORY
The instance of the MEMORY type

Method Detail

enumerate

public static Enumeration<Object> enumerate()
Method enumerate.Returns an enumeration of all possible instances of Backend

Returns:
an Enumeration over all possible instances of Backend

getType

public int getType()
Method getType.Returns the type of this Backend

Returns:
the type of this Backend

toString

public String toString()
Method toString.Returns the String representation of this Backend

Overrides:
toString in class Object
Returns:
the String representation of this Backend

valueOf

public static Backend valueOf(String string)
Method valueOf.Returns a new Backend based on the given String value.

Parameters:
string -
Returns:
the Backend value of parameter 'string'


Copyright © 2009. All Rights Reserved.