public static enum Export.Substitution extends java.lang.Enum<Export.Substitution>
Enum Constant and Description |
---|
CALCULATED
The policy value is calculated by inspection of the classes in the
package.
|
CONSUMER
Use a consumer type version range for the import package clause when
substitutably importing a package.
|
NOIMPORT
The package must not be substitutably imported.
|
PROVIDER
Use a provider type version range for the import package clause when
substitutably importing a package.
|
Modifier and Type | Method and Description |
---|---|
static Export.Substitution |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Export.Substitution[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Export.Substitution CONSUMER
ConsumerType
public static final Export.Substitution PROVIDER
ProviderType
public static final Export.Substitution NOIMPORT
public static final Export.Substitution CALCULATED
public static Export.Substitution[] values()
for (Export.Substitution c : Export.Substitution.values()) System.out.println(c);
public static Export.Substitution 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 nullCopyright © OSGi Alliance (2000, 2018). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0