Groovy Documentation

com.ace.mws.policies
[Groovy] Enum PolicyState

java.lang.Object
  com.ace.mws.policies.PolicyState

enum PolicyState

Represents the state of a policy. A policy may only be enabled or disabled.

Authors:
bsaville


Enum Constant Summary
DISABLED

The policy is disabled or inactive.

ENABLED

The policy is enabled or active.

 
Field Summary
private def str

 
Constructor Summary
private PolicyState(String str)

 
Method Summary
String toString()

PolicyState valueOf(String name)

Returns the enum constant of this type with the specified name.

PolicyState[] values()

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

 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Enum Constant Detail

DISABLED

PolicyState DISABLED
The policy is disabled or inactive.


ENABLED

PolicyState ENABLED
The policy is enabled or active.


 
Field Detail

str

private def str


 
Constructor Detail

PolicyState

private PolicyState(String str)


 
Method Detail

toString

String toString()


valueOf

PolicyState valueOf(String name)
Returns the enum constant of this type with the specified name.


values

PolicyState[] values()
Returns an array containing the constants of this enum type, in the order they are declared.


 

Groovy Documentation