public class SmartExecutorJob extends Object implements org.quartz.InterruptableJob
| Modifier and Type | Field and Description |
|---|---|
protected int |
executionCount |
protected static Map<UUID,Integer> |
executionsCount |
protected static Map<UUID,Map<Integer,org.gcube.vremanagement.executor.plugin.PluginState>> |
executionsState |
protected boolean |
initialized |
protected Map<String,Object> |
inputs |
protected Boolean |
interrupted |
static String |
LAUNCH_PARAMETER |
protected org.gcube.vremanagement.executor.api.types.LaunchParameter |
launchParameter |
protected int |
maxExecutionNumber |
protected boolean |
mustPreviousExecutionsCompleted |
protected org.gcube.vremanagement.executor.plugin.Plugin<? extends org.gcube.vremanagement.executor.plugin.PluginDeclaration> |
plugin |
protected String |
pluginName |
protected List<org.gcube.vremanagement.executor.plugin.PluginStateNotification> |
pluginStateNotifications |
protected RunnablePlugin<org.gcube.vremanagement.executor.plugin.Plugin<? extends org.gcube.vremanagement.executor.plugin.PluginDeclaration>> |
runnablePlugin |
protected UUID |
uuid |
static String |
UUID |
| Constructor and Description |
|---|
SmartExecutorJob() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
deschedule() |
void |
execute(org.quartz.JobExecutionContext context) |
protected void |
finished(org.quartz.JobExecutionContext context) |
static Map<UUID,Integer> |
getExecutionsCount() |
org.gcube.vremanagement.executor.api.types.LaunchParameter |
getLaunchParameter() |
UUID |
getUUID() |
protected void |
init(org.quartz.JobDataMap jobDataMap) |
void |
interrupt() |
protected boolean |
isMaxExecutionNumberReached() |
String |
toString() |
public static final String UUID
public static final String LAUNCH_PARAMETER
protected static Map<UUID,Map<Integer,org.gcube.vremanagement.executor.plugin.PluginState>> executionsState
protected List<org.gcube.vremanagement.executor.plugin.PluginStateNotification> pluginStateNotifications
protected boolean initialized
protected UUID uuid
protected org.gcube.vremanagement.executor.api.types.LaunchParameter launchParameter
protected int executionCount
protected String pluginName
protected org.gcube.vremanagement.executor.plugin.Plugin<? extends org.gcube.vremanagement.executor.plugin.PluginDeclaration> plugin
protected RunnablePlugin<org.gcube.vremanagement.executor.plugin.Plugin<? extends org.gcube.vremanagement.executor.plugin.PluginDeclaration>> runnablePlugin
protected boolean mustPreviousExecutionsCompleted
protected int maxExecutionNumber
protected Boolean interrupted
protected void init(org.quartz.JobDataMap jobDataMap)
throws org.quartz.JobExecutionException
org.quartz.JobExecutionExceptionpublic UUID getUUID()
public org.gcube.vremanagement.executor.api.types.LaunchParameter getLaunchParameter()
public void execute(org.quartz.JobExecutionContext context)
throws org.quartz.JobExecutionException
execute in interface org.quartz.Joborg.quartz.JobExecutionExceptionprotected void finished(org.quartz.JobExecutionContext context)
public void interrupt()
throws org.quartz.UnableToInterruptJobException
interrupt in interface org.quartz.InterruptableJoborg.quartz.UnableToInterruptJobExceptionprotected boolean isMaxExecutionNumberReached()
protected void deschedule()
throws org.quartz.SchedulerException
org.quartz.SchedulerExceptionCopyright © 2015. All Rights Reserved.