public static enum RestLike.Field extends Enum<RestLike.Field>
All of the fields that RestLike can have.
| Enum Constant and Description |
|---|
ACTIVITY_ID
the json field for activityId.
|
IDENTITY_ID
the json field for identityId.
|
| Modifier and Type | Method and Description |
|---|---|
String |
toString()
emit the field as a json element.
|
static RestLike.Field |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RestLike.Field[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RestLike.Field ACTIVITY_ID
public static final RestLike.Field IDENTITY_ID
public static RestLike.Field[] values()
for (RestLike.Field c : RestLike.Field.values()) System.out.println(c);
public static RestLike.Field 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 toString()
toString in class Enum<RestLike.Field>Copyright © 2011–2015 eXo Platform SAS. All rights reserved.