Package nz.org.riskscape.engine.defaults
Class Plugin
java.lang.Object
nz.org.riskscape.engine.plugin.Plugin
nz.org.riskscape.engine.defaults.Plugin
- All Implemented Interfaces:
nz.org.riskscape.engine.function.FunctionProvider
public class Plugin
extends nz.org.riskscape.engine.plugin.Plugin
implements nz.org.riskscape.engine.function.FunctionProvider
-
Field Summary
Modifier and TypeFieldDescriptionstatic final nz.org.riskscape.engine.resource.Resource
DummyResource
to identify things as coming from the defaults plugin.static final URI
static final String
Manifest file attribute name expected to contain a space separated list of class names to load asIdentifiedFunction
s. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
addDefaultTypeInformation
(nz.org.riskscape.engine.Engine engine) void
addFunctions
(nz.org.riskscape.engine.Project project, Consumer<nz.org.riskscape.problem.Problem> problemSink) void
addOutputFormats
(nz.org.riskscape.engine.Engine engine) void
addResourceLoaders
(nz.org.riskscape.engine.Engine engine) void
addSteps
(nz.org.riskscape.engine.Engine engine) List<nz.org.riskscape.engine.plugin.PluginFeature>
List<nz.org.riskscape.problem.Problem>
initializeEngine
(nz.org.riskscape.engine.Engine engine) List<nz.org.riskscape.problem.Problem>
initializeProject
(nz.org.riskscape.engine.Project project, nz.org.riskscape.engine.Engine engine) void
Methods inherited from class nz.org.riskscape.engine.plugin.Plugin
finalize, getDescriptor, getExtensionPoints, getI18nClassLoader, getId, initializeEngine, shutDown, startUp, supportsFeature
-
Field Details
-
FUNCTION_CLASSES_ATTRIBUTE_NAME
Manifest file attribute name expected to contain a space separated list of class names to load as
IdentifiedFunction
s.- See Also:
-
DEFAULTS_SOURCE_URI
-
DEFAULTS_SOURCE
public static final nz.org.riskscape.engine.resource.Resource DEFAULTS_SOURCEDummy
Resource
to identify things as coming from the defaults plugin.
-
-
Constructor Details
-
Plugin
public Plugin(nz.org.riskscape.engine.plugin.PluginDescriptor pDescriptor)
-
-
Method Details
-
addDefaultTypeInformation
public static void addDefaultTypeInformation(nz.org.riskscape.engine.Engine engine) -
initializeEngine
public List<nz.org.riskscape.problem.Problem> initializeEngine(nz.org.riskscape.engine.Engine engine) - Specified by:
initializeEngine
in classnz.org.riskscape.engine.plugin.Plugin
-
startUp
public void startUp(Map<String, List<String>> settingsConfig, nz.org.riskscape.problem.ProblemSink sink) - Overrides:
startUp
in classnz.org.riskscape.engine.plugin.Plugin
-
initializeProject
public List<nz.org.riskscape.problem.Problem> initializeProject(nz.org.riskscape.engine.Project project, nz.org.riskscape.engine.Engine engine) - Overrides:
initializeProject
in classnz.org.riskscape.engine.plugin.Plugin
-
addFunctions
public void addFunctions(nz.org.riskscape.engine.Project project, Consumer<nz.org.riskscape.problem.Problem> problemSink) - Specified by:
addFunctions
in interfacenz.org.riskscape.engine.function.FunctionProvider
-
addOutputFormats
public void addOutputFormats(nz.org.riskscape.engine.Engine engine) -
addSteps
public void addSteps(nz.org.riskscape.engine.Engine engine) -
addResourceLoaders
public void addResourceLoaders(nz.org.riskscape.engine.Engine engine) -
getFeatures
- Overrides:
getFeatures
in classnz.org.riskscape.engine.plugin.Plugin
-