78 lines
1.1 KiB
Java
78 lines
1.1 KiB
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 AsyncApexJobStatus {
|
|
|
|
|
|
|
|
/**
|
|
* Enumeration : Queued
|
|
*/
|
|
Queued("Queued"),
|
|
|
|
|
|
/**
|
|
* Enumeration : Processing
|
|
*/
|
|
Processing("Processing"),
|
|
|
|
|
|
/**
|
|
* Enumeration : Aborted
|
|
*/
|
|
Aborted("Aborted"),
|
|
|
|
|
|
/**
|
|
* Enumeration : Completed
|
|
*/
|
|
Completed("Completed"),
|
|
|
|
|
|
/**
|
|
* Enumeration : Failed
|
|
*/
|
|
Failed("Failed"),
|
|
|
|
|
|
/**
|
|
* Enumeration : Preparing
|
|
*/
|
|
Preparing("Preparing"),
|
|
|
|
|
|
/**
|
|
* Enumeration : Holding
|
|
*/
|
|
Holding("Holding"),
|
|
|
|
;
|
|
|
|
public static Map<String, String> valuesToEnums;
|
|
|
|
static {
|
|
valuesToEnums = new HashMap<String, String>();
|
|
for (AsyncApexJobStatus e : EnumSet.allOf(AsyncApexJobStatus.class)) {
|
|
valuesToEnums.put(e.toString(), e.name());
|
|
}
|
|
}
|
|
|
|
private String value;
|
|
|
|
private AsyncApexJobStatus(String value) {
|
|
this.value = value;
|
|
}
|
|
|
|
@Override
|
|
public String toString() {
|
|
return value;
|
|
}
|
|
}
|