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
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCapturer.Result -
Field Summary
Fields Modifier and Type Field Description protected static StringBURNINGWAVE_CLASSES_RELATIVE_DESTINATION_PATHprotected static StringTOOLFACTORY_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.Cleanable
clearMethods inherited from interface org.burningwave.core.Closeable
close, closeResources, closeResources, createCloseResoucesTask, createCloseResoucesTaskMethods inherited from interface org.burningwave.core.Identifiable
getId, getOperationIdMethods inherited from interface org.burningwave.core.Memorizer
getOrCreateTemporaryFolder, getOrCreateTemporaryFolder, getTemporaryFolderPrefixMethods inherited from interface org.burningwave.core.iterable.Properties.Listener
checkAndListenTo, checkAndUnregister, listenTo, processChangeNotification, unregister
-
Field Details
-
BURNINGWAVE_CLASSES_RELATIVE_DESTINATION_PATH
- See Also:
- Constant Field Values
-
TOOLFACTORY_CLASSES_RELATIVE_DESTINATION_PATH
- See Also:
- Constant Field Values
-
-
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)
-