com.neeve.rog.log
Enum RogLogUtil.MetadataDisplayPolicy

java.lang.Object
  extended by java.lang.Enum<RogLogUtil.MetadataDisplayPolicy>
      extended by com.neeve.rog.log.RogLogUtil.MetadataDisplayPolicy
All Implemented Interfaces:
Serializable, Comparable<RogLogUtil.MetadataDisplayPolicy>
Enclosing class:
RogLogUtil

public static enum RogLogUtil.MetadataDisplayPolicy
extends Enum<RogLogUtil.MetadataDisplayPolicy>

Enumerates options for displaying object metadata.


Enum Constant Summary
Off
          Specifies that metadata should not be displayed with the entry.
On
          Specifies that metadata should be displated along with the entry.
Only
          Specifies that only metadata should be displayed with the entry.
 
Method Summary
static RogLogUtil.MetadataDisplayPolicy valueOf(String name)
          Returns the enum constant of this type with the specified name.
static RogLogUtil.MetadataDisplayPolicy[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

On

public static final RogLogUtil.MetadataDisplayPolicy On
Specifies that metadata should be displated along with the entry.


Off

public static final RogLogUtil.MetadataDisplayPolicy Off
Specifies that metadata should not be displayed with the entry.


Only

public static final RogLogUtil.MetadataDisplayPolicy Only
Specifies that only metadata should be displayed with the entry.

Method Detail

values

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

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

valueOf

public static RogLogUtil.MetadataDisplayPolicy 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


Copyright © 2016 Neeve Research, LLC. All Rights Reserved.