DeerExecutionGraphNode, ParameterizedDeerExecutionGraphNode, ExecutionGraphNode<Model>, Parameterized, Plugin, org.pf4j.ExtensionPointAbstractModelReader, AbstractModelWriterpublic abstract class AbstractModelIO extends AbstractParameterizedExecutionGraphNode.WithImplicitCloning<Model> implements ParameterizedDeerExecutionGraphNode
AbstractParameterizedExecutionGraphNode.WithImplicitCloning<T>ExecutionGraphNode.DegreeBounds| Constructor | Description |
|---|---|
AbstractModelIO() |
| Modifier and Type | Method | Description |
|---|---|---|
protected Model |
deepCopy(Model data) |
|
Resource |
getType() |
Get the type URI resource of the
ParametrizedPlugin. |
static String |
injectWorkingDirectory(String pathString) |
Use this always when writing to or reading from Files whose paths are specified by parameters.
|
static void |
takeWorkingDirectoryFrom(Supplier<String> supplier) |
Specify the supplier of the working directory injection.
|
apply, getId, getInDegree, getOutDegree, initDegrees, initPluginId, safeApply, usesImplicitCloninggetParameterMap, getValidationModelFor, initParameters, isInitializedapply, getDegreeBounds, getInDegree, getOutDegree, initDegrees, usesImplicitCloningclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateParameterMap, getParameterMap, initParameters, isInitializedgetId, initPluginId, isInitializedpublic static void takeWorkingDirectoryFrom(Supplier<String> supplier)
supplier - the supplierpublic static String injectWorkingDirectory(String pathString)
pathString - Path to inject working directory intoprotected Model deepCopy(Model data)
deepCopy in class AbstractExecutionGraphNode<Model>@NotNull public Resource getType()
PluginParametrizedPlugin.
The type of a ParametrizedPlugin identifies the implementing class, must be
unique and must not be a blank node.
It is used to instantiate the class using the PluginFactory.
Defaults to using the implementing classes Class.getSimpleName().Copyright © 2019. All rights reserved.