public abstract class BuildArtifactsBeforeRunTaskProviderBase<T extends BuildArtifactsBeforeRunTaskBase> extends BeforeRunTaskProvider<T>
EXTENSION_POINT_NAME
Constructor and Description |
---|
BuildArtifactsBeforeRunTaskProviderBase(java.lang.Class<T> taskClass,
Project project) |
Modifier and Type | Method and Description |
---|---|
boolean |
canExecuteTask(RunConfiguration configuration,
T task) |
boolean |
configureTask(RunConfiguration runConfiguration,
T task) |
protected abstract ProjectTask |
createProjectTask(Project project,
java.util.List<Artifact> artifacts) |
T |
createTask(RunConfiguration runConfiguration) |
protected abstract T |
doCreateTask(Project project) |
boolean |
executeTask(DataContext context,
RunConfiguration configuration,
ExecutionEnvironment env,
T task) |
boolean |
isConfigurable() |
protected void |
setBuildArtifactBeforeRunOption(javax.swing.JComponent runConfigurationEditorComponent,
Artifact artifact,
boolean enable) |
configureTask, getDescription, getIcon, getId, getName, getProvider, getTaskIcon, isSingleton
public boolean isConfigurable()
isConfigurable
in class BeforeRunTaskProvider<T extends BuildArtifactsBeforeRunTaskBase>
public boolean configureTask(RunConfiguration runConfiguration, T task)
configureTask
in class BeforeRunTaskProvider<T extends BuildArtifactsBeforeRunTaskBase>
true
if task configuration is changedpublic T createTask(RunConfiguration runConfiguration)
createTask
in class BeforeRunTaskProvider<T extends BuildArtifactsBeforeRunTaskBase>
public boolean canExecuteTask(RunConfiguration configuration, T task)
canExecuteTask
in class BeforeRunTaskProvider<T extends BuildArtifactsBeforeRunTaskBase>
public boolean executeTask(DataContext context, RunConfiguration configuration, ExecutionEnvironment env, T task)
executeTask
in class BeforeRunTaskProvider<T extends BuildArtifactsBeforeRunTaskBase>
protected void setBuildArtifactBeforeRunOption(javax.swing.JComponent runConfigurationEditorComponent, Artifact artifact, boolean enable)
protected abstract ProjectTask createProjectTask(Project project, java.util.List<Artifact> artifacts)