|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.knime.core.node.util.NodeExecutionJobManagerPool
public final class NodeExecutionJobManagerPool
Collects all registered JobManager extensions and holds an instance of each in a set.
| Method Summary | |
|---|---|
static Collection<String> |
getAllJobManagerFactoryIDs()
Returns names of all registered NodeExecutionJobManagerFactorys. |
static NodeExecutionJobManagerFactory |
getDefaultJobManagerFactory()
There is always at least one job manager factory availably. |
static NodeExecutionJobManagerFactory |
getJobManagerFactory(String id)
Returns the job manager factory with the specified id - or null if it doesn't exists. |
static int |
getNumberOfJobManagersFactories()
Returns the number of job manager factories registered through the extension point. |
static NodeExecutionJobManager |
load(NodeExecutionJobManager instance,
NodeSettingsRO ncSettings)
Updates the settings of the passed job manager - if the settings specify the same type of job manager - or creates and returns a new instance of that new type of job manager. |
static NodeExecutionJobManager |
load(NodeSettingsRO sncSettings)
Restores a job manager given the parameters contained in the argument settings. |
static void |
saveJobManager(NodeExecutionJobManager jobManager,
NodeSettingsWO settings)
Saves the argument job manager to a settings object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static NodeExecutionJobManagerFactory getJobManagerFactory(String id)
id - the id of the job manager factory to return
public static void saveJobManager(NodeExecutionJobManager jobManager,
NodeSettingsWO settings)
jobManager - The job manager to save.settings - To save to.
public static NodeExecutionJobManager load(NodeSettingsRO sncSettings)
throws InvalidSettingsException
sncSettings - To load from.
InvalidSettingsException - If that fails.
public static NodeExecutionJobManager load(NodeExecutionJobManager instance,
NodeSettingsRO ncSettings)
throws InvalidSettingsException
instance - the "old" job manager that will be updated if its type
fits the type in the settings, or null to create a new
instance.ncSettings - the new settings to apply
InvalidSettingsException - if the settings are invalidpublic static NodeExecutionJobManagerFactory getDefaultJobManagerFactory()
public static int getNumberOfJobManagersFactories()
public static Collection<String> getAllJobManagerFactoryIDs()
NodeExecutionJobManagerFactorys.
If this method is called for the first time it starts instantiating all
job manager factories.
NodeExecutionJobManagerFactorys
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||