72 lines
1.1 KiB
Java
72 lines
1.1 KiB
Java
package com.sforce.soap.metadata;
|
|
|
|
import java.util.EnumSet;
|
|
import java.util.HashMap;
|
|
import java.util.Map;
|
|
|
|
/**
|
|
* This is a generated class for the SObject Enterprise API.
|
|
* Do not edit this file, as your changes will be lost.
|
|
*/
|
|
public enum RuleStatus {
|
|
|
|
|
|
|
|
/**
|
|
* Enumeration : Draft
|
|
*/
|
|
Draft("Draft"),
|
|
|
|
|
|
/**
|
|
* Enumeration : Activated
|
|
*/
|
|
Activated("Activated"),
|
|
|
|
|
|
/**
|
|
* Enumeration : Deactivated
|
|
*/
|
|
Deactivated("Deactivated"),
|
|
|
|
|
|
/**
|
|
* Enumeration : Verified
|
|
*/
|
|
Verified("Verified"),
|
|
|
|
|
|
/**
|
|
* Enumeration : ActivationInProgress
|
|
*/
|
|
ActivationInProgress("ActivationInProgress"),
|
|
|
|
|
|
/**
|
|
* Enumeration : DeactivationInProgress
|
|
*/
|
|
DeactivationInProgress("DeactivationInProgress"),
|
|
|
|
;
|
|
|
|
public static Map<String, String> valuesToEnums;
|
|
|
|
static {
|
|
valuesToEnums = new HashMap<String, String>();
|
|
for (RuleStatus e : EnumSet.allOf(RuleStatus.class)) {
|
|
valuesToEnums.put(e.toString(), e.name());
|
|
}
|
|
}
|
|
|
|
private String value;
|
|
|
|
private RuleStatus(String value) {
|
|
this.value = value;
|
|
}
|
|
|
|
@Override
|
|
public String toString() {
|
|
return value;
|
|
}
|
|
}
|