public class RunConfigurationBeforeRunProvider extends BeforeRunTaskProvider<RunConfigurationBeforeRunProvider.RunConfigurableBeforeRunTask>
Modifier and Type | Class and Description |
---|---|
class |
RunConfigurationBeforeRunProvider.RunConfigurableBeforeRunTask |
Modifier and Type | Field and Description |
---|---|
static Key<RunConfigurationBeforeRunProvider.RunConfigurableBeforeRunTask> |
ID |
EXTENSION_POINT_NAME
Constructor and Description |
---|
RunConfigurationBeforeRunProvider(Project project) |
configureTask, getProvider, isSingleton
public static final Key<RunConfigurationBeforeRunProvider.RunConfigurableBeforeRunTask> ID
public RunConfigurationBeforeRunProvider(Project project)
public Key<RunConfigurationBeforeRunProvider.RunConfigurableBeforeRunTask> getId()
getId
in class BeforeRunTaskProvider<RunConfigurationBeforeRunProvider.RunConfigurableBeforeRunTask>
public javax.swing.Icon getIcon()
getIcon
in class BeforeRunTaskProvider<RunConfigurationBeforeRunProvider.RunConfigurableBeforeRunTask>
public javax.swing.Icon getTaskIcon(RunConfigurationBeforeRunProvider.RunConfigurableBeforeRunTask task)
public java.lang.String getName()
getName
in class BeforeRunTaskProvider<RunConfigurationBeforeRunProvider.RunConfigurableBeforeRunTask>
public java.lang.String getDescription(RunConfigurationBeforeRunProvider.RunConfigurableBeforeRunTask task)
public boolean isConfigurable()
public RunConfigurationBeforeRunProvider.RunConfigurableBeforeRunTask createTask(RunConfiguration runConfiguration)
createTask
in class BeforeRunTaskProvider<RunConfigurationBeforeRunProvider.RunConfigurableBeforeRunTask>
public Promise<java.lang.Boolean> configureTask(DataContext context, RunConfiguration configuration, RunConfigurationBeforeRunProvider.RunConfigurableBeforeRunTask task)
configureTask
in class BeforeRunTaskProvider<RunConfigurationBeforeRunProvider.RunConfigurableBeforeRunTask>
true
a promise returning true, if the task was changedpublic boolean canExecuteTask(RunConfiguration configuration, RunConfigurationBeforeRunProvider.RunConfigurableBeforeRunTask task)
public boolean executeTask(DataContext dataContext, RunConfiguration configuration, ExecutionEnvironment env, RunConfigurationBeforeRunProvider.RunConfigurableBeforeRunTask task)
executeTask
in class BeforeRunTaskProvider<RunConfigurationBeforeRunProvider.RunConfigurableBeforeRunTask>
public static boolean doExecuteTask(ExecutionEnvironment env, RunnerAndConfigurationSettings settings, ExecutionTarget target)
public static boolean doRunTask(java.lang.String executorId, ExecutionEnvironment environment, ProgramRunner<?> runner)