public class TaskProcessorType
extends java.lang.Object
| Constructor and Description |
|---|
TaskProcessorType(java.lang.String code) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getCode() |
int |
hashCode() |
static boolean |
isNotValueOf(java.lang.String code) |
static boolean |
isValueOf(java.lang.String code) |
java.lang.String |
toString() |
static TaskProcessorType |
valueOf(java.lang.String code)
Returns the processor type for the specified code.
|
public static boolean isValueOf(java.lang.String code)
public static boolean isNotValueOf(java.lang.String code)
public static TaskProcessorType valueOf(java.lang.String code) throws java.lang.IllegalArgumentException
code - the processor type' code.java.lang.IllegalArgumentException - if the specified code does a known processor type.public java.lang.String getCode()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object