public static enum ExtensionPointRegistry.Position extends java.lang.Enum<ExtensionPointRegistry.Position>
Position specifies the position in which a registered
ExtensionPoint is applied with regard to all other registered
extension points of the same type.
The position can be specified when programmatically
registering an extension point. Possible values include
OUTERMOST, OUTSIDE_DEFAULT,
DEFAULT, INSIDE_DEFAULT, and
INNERMOST.
| Enum Constant and Description |
|---|
DEFAULT |
INNERMOST |
INSIDE_DEFAULT |
OUTERMOST
Apply first.
|
OUTSIDE_DEFAULT
|
| Modifier and Type | Method and Description |
|---|---|
static ExtensionPointRegistry.Position |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ExtensionPointRegistry.Position[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExtensionPointRegistry.Position OUTERMOST
Only a single extension is allowed to be assigned this position;
otherwise, an ExtensionConfigurationException will be
thrown.
public static final ExtensionPointRegistry.Position OUTSIDE_DEFAULT
OUTERMOST but before DEFAULT,
INSIDE_DEFAULT, and INNERMOST.
Multiple extensions can be assigned this position; however, the ordering among such extensions is undefined.
public static final ExtensionPointRegistry.Position DEFAULT
public static final ExtensionPointRegistry.Position INSIDE_DEFAULT
public static final ExtensionPointRegistry.Position INNERMOST
public static ExtensionPointRegistry.Position[] values()
for (ExtensionPointRegistry.Position c : ExtensionPointRegistry.Position.values()) System.out.println(c);
public static ExtensionPointRegistry.Position valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null