Package org.processmining.contexts.cli
Class CLIPluginContext
- java.lang.Object
-
- org.processmining.framework.plugin.impl.AbstractPluginContext
-
- org.processmining.contexts.cli.CLIPluginContext
-
- All Implemented Interfaces:
org.processmining.framework.plugin.GlobalContext,org.processmining.framework.plugin.ObjectConstructor,org.processmining.framework.plugin.PluginContext
public class CLIPluginContext extends org.processmining.framework.plugin.impl.AbstractPluginContext
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedCLIPluginContext(CLIPluginContext context, java.lang.String label)CLIPluginContext(org.processmining.framework.plugin.GlobalContext context, java.lang.String label)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.processmining.framework.plugin.PluginContextcreateTypedChildContext(java.lang.String label)java.util.concurrent.ExecutorgetExecutor()Returns an executor which can be used to execute plugins in child contexts.CLIContextgetGlobalContext()org.processmining.framework.plugin.ProgressgetProgress()Returns the progress object corresponding to this contextCLIPluginContextgetRootContext()Returns the root plugin context.-
Methods inherited from class org.processmining.framework.plugin.impl.AbstractPluginContext
addConnection, clear, createChildContext, createNewPluginContextID, deleteChild, equals, getChildContexts, getConnectionManager, getFutureResult, getID, getLabel, getLoggingListeners, getParentContext, getPluginContextType, getPluginDescriptor, getPluginLifeCycleEventListeners, getPluginManager, getProgressEventListeners, getProvidedObjectManager, getResult, hasPluginDescriptorInPath, invokeBinding, invokePlugin, isDistantChildOf, log, log, log, setFuture, setPluginDescriptor, toString, tryToFindOrConstructAllObjects, tryToFindOrConstructFirstNamedObject, tryToFindOrConstructFirstObject
-
-
-
-
Constructor Detail
-
CLIPluginContext
public CLIPluginContext(org.processmining.framework.plugin.GlobalContext context, java.lang.String label)
-
CLIPluginContext
protected CLIPluginContext(CLIPluginContext context, java.lang.String label)
-
-
Method Detail
-
createTypedChildContext
protected org.processmining.framework.plugin.PluginContext createTypedChildContext(java.lang.String label)
- Specified by:
createTypedChildContextin classorg.processmining.framework.plugin.impl.AbstractPluginContext
-
getExecutor
public java.util.concurrent.Executor getExecutor()
Description copied from interface:org.processmining.framework.plugin.PluginContextReturns an executor which can be used to execute plugins in child contexts.- Returns:
-
getProgress
public org.processmining.framework.plugin.Progress getProgress()
Description copied from interface:org.processmining.framework.plugin.PluginContextReturns the progress object corresponding to this context- Specified by:
getProgressin interfaceorg.processmining.framework.plugin.PluginContext- Overrides:
getProgressin classorg.processmining.framework.plugin.impl.AbstractPluginContext- Returns:
- the progress object corresponding to this context
-
getGlobalContext
public CLIContext getGlobalContext()
- Overrides:
getGlobalContextin classorg.processmining.framework.plugin.impl.AbstractPluginContext
-
getRootContext
public CLIPluginContext getRootContext()
Description copied from interface:org.processmining.framework.plugin.PluginContextReturns the root plugin context. This is an instance of PluginContext of which all other contexts are distant childs.- Specified by:
getRootContextin interfaceorg.processmining.framework.plugin.PluginContext- Overrides:
getRootContextin classorg.processmining.framework.plugin.impl.AbstractPluginContext- Returns:
-
-