org.apache.jackrabbit.oak.commons.jmx
Enum ImpactOption

java.lang.Object
  extended by java.lang.Enum<ImpactOption>
      extended by org.apache.jackrabbit.oak.commons.jmx.ImpactOption
All Implemented Interfaces:
Serializable, Comparable<ImpactOption>

public enum ImpactOption
extends Enum<ImpactOption>


Enum Constant Summary
ACTION
          Indicates that the operation is a write-like, and would modify the MBean in some way, typically by writing some value or changing a configuration.
ACTION_INFO
          Indicates that the operation is both read-like and write-like.
INFO
          Indicates that the operation is read-like, it basically returns information.
UNKNOWN
          Indicates that the operation has an "unknown" nature.
 
Method Summary
 int value()
           
static ImpactOption valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ImpactOption[] 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

ACTION

public static final ImpactOption ACTION
Indicates that the operation is a write-like, and would modify the MBean in some way, typically by writing some value or changing a configuration.


ACTION_INFO

public static final ImpactOption ACTION_INFO
Indicates that the operation is both read-like and write-like.


INFO

public static final ImpactOption INFO
Indicates that the operation is read-like, it basically returns information.


UNKNOWN

public static final ImpactOption UNKNOWN
Indicates that the operation has an "unknown" nature.

Method Detail

values

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

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

valueOf

public static ImpactOption 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

value

public int value()


Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.