public enum ServiceNowStates extends Enum<ServiceNowStates>
Enum Constant and Description |
---|
COMPLETE |
IMPLEMENT |
IN_PROGRESS |
NEW |
REVIEW |
SCHEDULED |
Modifier and Type | Method and Description |
---|---|
static ServiceNowStates |
getState(int i) |
static ServiceNowStates |
getState(String stateName) |
int |
getStateInteger() |
static ServiceNowStates |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServiceNowStates[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServiceNowStates NEW
public static final ServiceNowStates SCHEDULED
public static final ServiceNowStates IMPLEMENT
public static final ServiceNowStates REVIEW
public static final ServiceNowStates IN_PROGRESS
public static final ServiceNowStates COMPLETE
public static ServiceNowStates[] values()
for (ServiceNowStates c : ServiceNowStates.values()) System.out.println(c);
public static ServiceNowStates valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getStateInteger()
public static ServiceNowStates getState(int i)
public static ServiceNowStates getState(String stateName)
Copyright © 2016–2019. All rights reserved.