Class GeneratorRunner

java.lang.Object
org.jvnet.hk2.generator.internal.GeneratorRunner

public class GeneratorRunner extends Object
  • Field Details

    • DOT_CLASS

      private static final String DOT_CLASS
      See Also:
    • META_INF

      private static final String META_INF
      See Also:
    • INHABITANTS

      private static final String INHABITANTS
      See Also:
    • TARGET_HABITATS

      private static final String TARGET_HABITATS
      See Also:
    • utilities

      private final Utilities utilities
    • fileOrDirectory

      private final String fileOrDirectory
    • outjarName

      private final String outjarName
    • locatorName

      private final String locatorName
    • verbose

      private final boolean verbose
    • noSwap

      private final boolean noSwap
    • outputDirectory

      private final String outputDirectory
    • includeDate

      private final boolean includeDate
    • outJarIsInJar

      private final boolean outJarIsInJar
  • Constructor Details

    • GeneratorRunner

      public GeneratorRunner(String fileOrDirectory, String outjarName, String locatorName, boolean verbose, String searchPath, boolean noSwap, String outputDirectory, boolean includeDate)
      This initializes the GeneratorRunner with the values needed to run
      Parameters:
      fileOrDirectory - The fileOrDirectory to inspect for services
      outjarName - The name of the jar file to create (can be the fileOrDirectory)
      locatorName - The name of the locator these files should be put into
      verbose - true if this should print information about progress
      searchPath - The path-separator delimited list of files or directories to search for contracts and qualifiers and various other annotations
      noSwap - true if this run should NOT swap files (faster but riskier)
      outputDirectory - The directory where the file should go
      includeDate - Whether or not the output file should include a date
  • Method Details