Class AbstractBndGenerator

All Implemented Interfaces:
Generator, Renamable, ResourceProvider
Direct Known Subclasses:
BndAnalyzer, BndBaseliner

public abstract class AbstractBndGenerator extends AbstractGenerator
A base class for providers using bndlib.
  • Constructor Details

    • AbstractBndGenerator

      public AbstractBndGenerator(Project project)
      Initializes a new abstract bnd generator.
      Parameters:
      project - the project
  • Method Details

    • instruction

      Add the instruction specified by key and value.
      Parameters:
      key - the key
      value - the value
      Returns:
      the bnd analyzer
    • instructions

      Add the given instructions for the analyzer.
      Parameters:
      instructions - the instructions
      Returns:
      the bnd analyzer
    • instructions

      Add the instructions from the given bnd (properties) file.
      Parameters:
      bndFile - the bnd file
      Returns:
      the bnd analyzer
    • applyInstructions

      protected void applyInstructions(aQute.bnd.osgi.Processor processor)
      Apply the collected instructions to the given bnd processor.
      Parameters:
      processor - the processor