public abstract static class Plugin.Engine.AbstractBase extends Object implements Plugin.Engine
Plugin.Engine.AbstractBase, Plugin.Engine.Default, Plugin.Engine.Dispatcher, Plugin.Engine.ErrorHandler, Plugin.Engine.Listener, Plugin.Engine.PoolStrategy, Plugin.Engine.Source, Plugin.Engine.Summary, Plugin.Engine.Target, Plugin.Engine.TypeStrategy
CLASS_FILE_EXTENSION
Constructor and Description |
---|
AbstractBase() |
Modifier and Type | Method and Description |
---|---|
Plugin.Engine.Summary |
apply(File source,
File target,
List<? extends Plugin.Factory> factories)
Applies this plugin engine onto a given source and target.
|
Plugin.Engine.Summary |
apply(File source,
File target,
Plugin.Factory... factory)
Applies this plugin engine onto a given source and target.
|
Plugin.Engine.Summary |
apply(Plugin.Engine.Source source,
Plugin.Engine.Target target,
Plugin.Factory... factory)
Applies this plugin engine onto a given source and target.
|
Plugin.Engine |
withErrorHandlers(Plugin.Engine.ErrorHandler... errorHandler)
Replaces the error handlers of this plugin engine with the supplied error handlers.
|
Plugin.Engine |
withParallelTransformation(int threads)
Replaces the dispatcher factory of this plugin engine with a parallel dispatcher factory that uses the given amount of threads.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
apply, ignore, with, with, with, with, with, with, withErrorHandlers, withoutErrorHandlers
public Plugin.Engine withErrorHandlers(Plugin.Engine.ErrorHandler... errorHandler)
withErrorHandlers
in interface Plugin.Engine
errorHandler
- The error handlers to apply.public Plugin.Engine withParallelTransformation(int threads)
withParallelTransformation
in interface Plugin.Engine
threads
- The amount of threads to use.public Plugin.Engine.Summary apply(File source, File target, Plugin.Factory... factory) throws IOException
apply
in interface Plugin.Engine
source
- The source which is treated as a folder or a jar file, if a folder does not exist.target
- The target which is treated as a folder or a jar file, if a folder does not exist.factory
- A list of plugin factories to a apply.IOException
- If an I/O error occurs.public Plugin.Engine.Summary apply(File source, File target, List<? extends Plugin.Factory> factories) throws IOException
apply
in interface Plugin.Engine
source
- The source which is treated as a folder or a jar file, if a folder does not exist.target
- The target which is treated as a folder or a jar file, if a folder does not exist.factories
- A list of plugin factories to a apply.IOException
- If an I/O error occurs.public Plugin.Engine.Summary apply(Plugin.Engine.Source source, Plugin.Engine.Target target, Plugin.Factory... factory) throws IOException
apply
in interface Plugin.Engine
source
- The source to use.target
- The target to use.factory
- A list of plugin factories to a apply.IOException
- If an I/O error occurs.Copyright © 2014–2022. All rights reserved.