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.ManagedLogger,org.burningwave.core.Memorizer
- Direct Known Subclasses:
TwoPassCapturer
public class Capturer extends Object implements org.burningwave.core.Component
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCapturer.Result -
Field Summary
Fields Modifier and Type Field Description protected static StringADDITIONAL_RESOURCES_PATHprotected static StringBURNINGWAVE_CLASSES_RELATIVE_DESTINATION_PATH -
Method Summary
Modifier and Type Method Description Capturer.Resultcapture(String mainClassName, String[] mainMethodAruments, Collection<String> baseClassPaths, org.burningwave.core.function.TriConsumer<String,String,ByteBuffer> resourceConsumer, boolean includeMainClass, Long continueToCaptureAfterSimulatorClassEndExecutionFor)Capturer.Resultcapture(String mainClassName, Collection<String> baseClassPaths, org.burningwave.core.function.TriConsumer<String,String,ByteBuffer> resourceConsumer, boolean includeMainClass, Long continueToCaptureAfterSimulatorClassEndExecutionFor)Capturer.ResultcaptureAndStore(String mainClassName, String[] mainMethodAruments, Collection<String> baseClassPaths, String destinationPath, boolean includeMainClass, Long continueToCaptureAfterSimulatorClassEndExecutionFor)Capturer.ResultcaptureAndStore(String mainClassName, Collection<String> baseClassPaths, String destinationPath, boolean includeMainClass, Long continueToCaptureAfterSimulatorClassEndExecutionFor)static Capturercreate(org.burningwave.core.assembler.ComponentSupplier componentSupplier)static CapturergetInstance()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.burningwave.core.Closeable
close, closeResources, closeResources, createCloseResoucesTask, createCloseResoucesTaskMethods inherited from interface org.burningwave.core.ManagedLogger
logDebug, logDebug, logError, logError, logError, logError, logError, logInfo, logInfo, logTrace, logTrace, logWarn, logWarn
-
Field Details
-
Method Details
-
create
-
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)
-