public static enum Ticket.State extends Enum<Ticket.State>
| Enum Constant and Description | 
|---|
| CANCELLEDTicket is considered to be in a Canceled State in the HelpDesk system. | 
| CLOSEDTicket is considered to be in an Closed State in the HelpDesk system. | 
| OPENTicket is considered to be in an Open State in the HelpDesk system. | 
| Modifier and Type | Method and Description | 
|---|---|
| static Ticket.State | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static Ticket.State[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final Ticket.State OPEN
public static final Ticket.State CANCELLED
public static final Ticket.State CLOSED
public static Ticket.State[] values()
for (Ticket.State c : Ticket.State.values()) System.out.println(c);
public static Ticket.State 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 nullCopyright © 2021. All rights reserved.