Enum Class ResolutionInstructions.ResolveMode
java.lang.Object
java.lang.Enum<ResolutionInstructions.ResolveMode>
aQute.bnd.help.instructions.ResolutionInstructions.ResolveMode
- All Implemented Interfaces:
Serializable, Comparable<ResolutionInstructions.ResolveMode>, Constable
- Enclosing interface:
ResolutionInstructions
public static enum ResolutionInstructions.ResolveMode
extends Enum<ResolutionInstructions.ResolveMode>
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionRun the resolver automatically on every save.Run the resolver before launching, but only in batch mode (e.g.Run the resolver automatically before each launch.Run the resolver when -runbundles are needed, unless a cache file exists that is newer than the bndrun file, project, and workspace.Resolve is done manually.Never run the resolver automatically. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static ResolutionInstructions.ResolveMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
manual
Resolve is done manually. This is the default. The -runbundles list is managed by the user and is never modified automatically. -
auto
Run the resolver automatically on every save. The entire -runbundles list is replaced by the resolver output on each save. Any manual edits to -runbundles will be silently overwritten. -
beforelaunch
Run the resolver automatically before each launch. The -runbundles list is updated with the resolved result before the application is started. -
batch
Run the resolver before launching, but only in batch mode (e.g. Gradle). In IDE mode (e.g. Eclipse) the -runbundles list is not touched and must be managed manually or via an explicit resolve. -
cache
Run the resolver when -runbundles are needed, unless a cache file exists that is newer than the bndrun file, project, and workspace. The cache file has the same name as the project/bndrun file but starts with a '.'. -
never
Never run the resolver automatically. The -runbundles list must be managed entirely by the user. Attempting to resolve manually will result in an error.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-