public enum TroubleTicketState extends Enum<TroubleTicketState>
Enum Constant and Description |
---|
CANCEL_FAILED
An attempt to mark the ticket cancelled in the remote helpdesk system has failed
|
CANCEL_PENDING
Trouble ticket is in the process of being marked as cancelled
|
CANCELLED
Trouble ticket has been cancelled
|
CLOSE_FAILED
An attempt to mark the ticket closed in the remote helpdesk system has failed
|
CLOSE_PENDING
Trouble ticket is pending closure in the remote helpdesk system
|
CLOSED
Trouble ticket has been closed
|
CREATE_FAILED
Trouble ticket creation has failed
|
CREATE_PENDING
Trouble ticket is being created
|
OPEN
Trouble ticket is currently open
|
RESOLVE_FAILED
Resolving ticket in the remote helpdesk system has failed
|
RESOLVE_PENDING
Trouble ticket is in the process of being marked resolved
|
RESOLVED
Trouble ticket has been resolved
|
UPDATE_FAILED
Updating ticket state from the remote helpdesk system failed
|
UPDATE_PENDING
Trouble ticket is pending an update from the remote helpdesk system
|
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static TroubleTicketState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TroubleTicketState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TroubleTicketState OPEN
public static final TroubleTicketState CREATE_PENDING
public static final TroubleTicketState CREATE_FAILED
public static final TroubleTicketState UPDATE_PENDING
public static final TroubleTicketState UPDATE_FAILED
public static final TroubleTicketState CLOSED
public static final TroubleTicketState CLOSE_PENDING
public static final TroubleTicketState CLOSE_FAILED
public static final TroubleTicketState RESOLVED
public static final TroubleTicketState RESOLVE_PENDING
public static final TroubleTicketState RESOLVE_FAILED
public static final TroubleTicketState CANCELLED
public static final TroubleTicketState CANCEL_PENDING
public static final TroubleTicketState CANCEL_FAILED
public static TroubleTicketState[] values()
for (TroubleTicketState c : TroubleTicketState.values()) System.out.println(c);
public static TroubleTicketState 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 getValue()
Copyright © 2021. All rights reserved.