public enum TrackerAction extends Enum<TrackerAction>
| Modifier and Type | Method and Description |
|---|---|
int |
getId() |
static TrackerAction |
of(int id) |
static TrackerAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TrackerAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TrackerAction CONNECT
public static final TrackerAction ANNOUNCE
public static final TrackerAction SCRAPE
public static final TrackerAction ERROR
public static TrackerAction[] values()
for (TrackerAction c : TrackerAction.values()) System.out.println(c);
public static TrackerAction 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 getId()
public static final TrackerAction of(int id)
Copyright © 2016. All rights reserved.