60 lines
928 B
Java
60 lines
928 B
Java
package com.sforce.soap.tooling;
|
|
|
|
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 EventRelayAdminState {
|
|
|
|
|
|
|
|
/**
|
|
* Enumeration : RUN
|
|
*/
|
|
RUN("RUN"),
|
|
|
|
|
|
/**
|
|
* Enumeration : STOP
|
|
*/
|
|
STOP("STOP"),
|
|
|
|
|
|
/**
|
|
* Enumeration : PAUSE
|
|
*/
|
|
PAUSE("PAUSE"),
|
|
|
|
|
|
/**
|
|
* Enumeration : DELETE
|
|
*/
|
|
DELETE("DELETE"),
|
|
|
|
;
|
|
|
|
public static Map<String, String> valuesToEnums;
|
|
|
|
static {
|
|
valuesToEnums = new HashMap<String, String>();
|
|
for (EventRelayAdminState e : EnumSet.allOf(EventRelayAdminState.class)) {
|
|
valuesToEnums.put(e.toString(), e.name());
|
|
}
|
|
}
|
|
|
|
private String value;
|
|
|
|
private EventRelayAdminState(String value) {
|
|
this.value = value;
|
|
}
|
|
|
|
@Override
|
|
public String toString() {
|
|
return value;
|
|
}
|
|
}
|