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>
  • Enum Constant Details

    • manual

      public static final ResolutionInstructions.ResolveMode manual
      Resolve is done manually. This is the default. The -runbundles list is managed by the user and is never modified automatically.
    • auto

      public static final ResolutionInstructions.ResolveMode 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

      public static final ResolutionInstructions.ResolveMode beforelaunch
      Run the resolver automatically before each launch. The -runbundles list is updated with the resolved result before the application is started.
    • batch

      public static final ResolutionInstructions.ResolveMode 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

      public static final ResolutionInstructions.ResolveMode 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

      public static final ResolutionInstructions.ResolveMode 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

      public static ResolutionInstructions.ResolveMode[] 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

      public static ResolutionInstructions.ResolveMode valueOf(String name)
      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 name
      NullPointerException - if the argument is null