public enum LogCategory extends Enum<LogCategory>
Java class for LogCategory.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="LogCategory">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="Db"/>
<enumeration value="Workflow"/>
<enumeration value="Validation"/>
<enumeration value="Callout"/>
<enumeration value="Apex_code"/>
<enumeration value="Apex_profiling"/>
<enumeration value="Visualforce"/>
<enumeration value="System"/>
<enumeration value="All"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
ALL |
APEX_CODE |
APEX_PROFILING |
CALLOUT |
DB |
SYSTEM |
VALIDATION |
VISUALFORCE |
WORKFLOW |
| Modifier and Type | Method and Description |
|---|---|
static LogCategory |
fromValue(String v) |
String |
value() |
static LogCategory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LogCategory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LogCategory DB
public static final LogCategory WORKFLOW
public static final LogCategory VALIDATION
public static final LogCategory CALLOUT
public static final LogCategory APEX_CODE
public static final LogCategory APEX_PROFILING
public static final LogCategory VISUALFORCE
public static final LogCategory SYSTEM
public static final LogCategory ALL
public static LogCategory[] values()
for (LogCategory c : LogCategory.values()) System.out.println(c);
public static LogCategory valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String value()
public static LogCategory fromValue(String v)
Copyright © 2016. All rights reserved.