Class Capturer

java.lang.Object
org.burningwave.tools.dependencies.Capturer
All Implemented Interfaces:
AutoCloseable, org.burningwave.core.Cleanable, org.burningwave.core.Closeable, org.burningwave.core.Component, org.burningwave.core.Identifiable, org.burningwave.core.iterable.Properties.Listener, org.burningwave.core.Memorizer
Direct Known Subclasses:
TwoPassCapturer

public class Capturer
extends Object
implements org.burningwave.core.Component
  • Field Details

    • BURNINGWAVE_CLASSES_RELATIVE_DESTINATION_PATH

      protected static final String BURNINGWAVE_CLASSES_RELATIVE_DESTINATION_PATH
      See Also:
      Constant Field Values
    • TOOLFACTORY_CLASSES_RELATIVE_DESTINATION_PATH

      protected static final String TOOLFACTORY_CLASSES_RELATIVE_DESTINATION_PATH
      See Also:
      Constant Field Values
  • Method Details

    • create

      public static Capturer create​(org.burningwave.core.assembler.ComponentSupplier componentSupplier)
    • getInstance

      public static Capturer getInstance()
    • capture

      public Capturer.Result capture​(String mainClassName, Collection<String> baseClassPaths, org.burningwave.core.function.TriConsumer<String,​String,​ByteBuffer> resourceConsumer, boolean includeMainClass, Long continueToCaptureAfterSimulatorClassEndExecutionFor)
    • capture

      public Capturer.Result capture​(String mainClassName, String[] mainMethodAruments, Collection<String> baseClassPaths, org.burningwave.core.function.TriConsumer<String,​String,​ByteBuffer> resourceConsumer, boolean includeMainClass, Long continueToCaptureAfterSimulatorClassEndExecutionFor)
    • captureAndStore

      public Capturer.Result captureAndStore​(String mainClassName, Collection<String> baseClassPaths, String destinationPath, boolean includeMainClass, Long continueToCaptureAfterSimulatorClassEndExecutionFor)
    • captureAndStore

      public Capturer.Result captureAndStore​(String mainClassName, String[] mainMethodAruments, Collection<String> baseClassPaths, String destinationPath, boolean includeMainClass, Long continueToCaptureAfterSimulatorClassEndExecutionFor)