public enum MethodType extends Enum<MethodType>
Enum Constant and Description |
---|
DELETE
'delete' operation - it will remove current object, as UPDATE is should have
TeaRequires and define required permissions. |
READ
'read-only' operation, should not change state stored in the agent.
|
UPDATE
'write' operation, does change state of the server.
|
Modifier and Type | Method and Description |
---|---|
static MethodType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MethodType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MethodType READ
public static final MethodType UPDATE
TeaRequires
annotation to define
permissions.public static final MethodType DELETE
TeaRequires
and define required permissions.public static MethodType[] values()
for (MethodType c : MethodType.values()) System.out.println(c);
public static MethodType 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 nullCopyright © 2015 Cloud Software Group, Inc.. All Rights Reserved.