public enum Trigger extends Enum<Trigger> implements Enumerator
SetupPackage.getTrigger()
Enum Constant and Description |
---|
BOOTSTRAP
The 'BOOTSTRAP' literal object.
|
MANUAL
The 'MANUAL' literal object.
|
STARTUP
The 'STARTUP' literal object.
|
Modifier and Type | Field and Description |
---|---|
static Set<Trigger> |
ALL_TRIGGERS |
static int |
BOOTSTRAP_VALUE
The 'BOOTSTRAP' literal value.
|
static Set<Trigger> |
IDE_TRIGGERS |
static Map<Set<Trigger>,String> |
LITERALS |
static int |
MANUAL_VALUE
The 'MANUAL' literal value.
|
static int |
STARTUP_VALUE
The 'STARTUP' literal value.
|
static List<Trigger> |
VALUES
A public read-only list of all the 'Trigger' enumerators.
|
Modifier and Type | Method and Description |
---|---|
static Trigger |
get(int value)
Returns the 'Trigger' literal with the specified integer value.
|
static Trigger |
get(String literal)
Returns the 'Trigger' literal with the specified literal value.
|
static Trigger |
getByName(String name)
Returns the 'Trigger' literal with the specified name.
|
String |
getLiteral() |
String |
getName() |
int |
getValue() |
static Set<Trigger> |
intern(Set<Trigger> triggerSet) |
static Set<Trigger> |
toSet(Trigger... triggers) |
String |
toString()
Returns the literal value of the enumerator, which is its string representation.
|
static Trigger |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Trigger[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Trigger BOOTSTRAP
BOOTSTRAP_VALUE
public static final Trigger STARTUP
STARTUP_VALUE
public static final Trigger MANUAL
MANUAL_VALUE
public static final int BOOTSTRAP_VALUE
If the meaning of 'BOOTSTRAP' literal object isn't clear, there really should be more of a description here...
BOOTSTRAP
,
Constant Field Valuespublic static final int STARTUP_VALUE
If the meaning of 'STARTUP' literal object isn't clear, there really should be more of a description here...
STARTUP
,
Constant Field Valuespublic static final int MANUAL_VALUE
If the meaning of 'MANUAL' literal object isn't clear, there really should be more of a description here...
MANUAL
,
Constant Field Valuespublic static final List<Trigger> VALUES
public static Trigger[] values()
for (Trigger c : Trigger.values()) System.out.println(c);
public static Trigger 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 static Trigger get(String literal)
public static Trigger getByName(String name)
public static Trigger get(int value)
public int getValue()
getValue
in interface Enumerator
public String getName()
getName
in interface Enumerator
public String getLiteral()
getLiteral
in interface Enumerator
public String toString()
Copyright (c) 2014 Eike Stepper (Loehne, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v2.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v20.html