|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<JcrContentPayloadType>
org.mule.transport.jcr.JcrContentPayloadType
public enum JcrContentPayloadType
A typesafe enum that represents the supported content paylod types for a JCR event.
Enum Constant Summary | |
---|---|
FULL
The payload will contain event information and data from the node source of the event. |
|
NO_BINARY
The payload will contain event information and data from the node source of the event, only if this data is not of bynary type. |
|
NONE
No content will be fetched from JCR: the payload will be limited to the event information. |
Method Summary | |
---|---|
static JcrContentPayloadType |
fromString(String type)
|
String |
toString()
|
static JcrContentPayloadType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static JcrContentPayloadType[] |
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, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final JcrContentPayloadType NONE
public static final JcrContentPayloadType NO_BINARY
public static final JcrContentPayloadType FULL
Method Detail |
---|
public static JcrContentPayloadType[] values()
for (JcrContentPayloadType c : JcrContentPayloadType.values()) System.out.println(c);
public static JcrContentPayloadType valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<JcrContentPayloadType>
public static JcrContentPayloadType fromString(String type) throws IllegalArgumentException
IllegalArgumentException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |