public class ExternalSystemTaskActivator
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
ExternalSystemTaskActivator.Listener |
static class |
ExternalSystemTaskActivator.Phase |
static class |
ExternalSystemTaskActivator.TaskActivationEntry |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
RUN_CONFIGURATION_TASK_PREFIX |
Constructor and Description |
---|
ExternalSystemTaskActivator(Project project) |
Modifier and Type | Method and Description |
---|---|
void |
addListener(ExternalSystemTaskActivator.Listener l) |
void |
addTask(ExternalSystemTaskActivator.TaskActivationEntry entry) |
void |
addTasks(java.util.Collection<? extends ExternalSystemTaskActivator.TaskActivationEntry> entries) |
void |
addTasks(java.util.Collection<? extends TaskData> tasks,
ExternalSystemTaskActivator.Phase phase) |
void |
fireTasksChanged() |
java.lang.String |
getDescription(ProjectSystemId systemId,
java.lang.String projectPath,
java.lang.String taskName) |
static java.lang.String |
getRunConfigurationActivationTaskName(RunnerAndConfigurationSettings settings) |
void |
init() |
boolean |
isTaskOfPhase(TaskData taskData,
ExternalSystemTaskActivator.Phase phase) |
void |
moveProjects(ProjectSystemId systemId,
java.util.List<java.lang.String> projectsPathsToMove,
java.util.Collection<java.lang.String> pathsGroup,
int increment) |
void |
moveTasks(java.util.Collection<? extends ExternalSystemTaskActivator.TaskActivationEntry> entries,
int increment) |
void |
removeTask(ExternalSystemTaskActivator.TaskActivationEntry entry) |
void |
removeTasks(java.util.Collection<? extends ExternalSystemTaskActivator.TaskActivationEntry> entries) |
void |
removeTasks(java.util.Collection<? extends TaskData> tasks,
ExternalSystemTaskActivator.Phase phase) |
boolean |
runTasks(java.util.Collection<java.lang.String> modules,
ExternalSystemTaskActivator.Phase... phases) |
boolean |
runTasks(java.lang.String modulePath,
ExternalSystemTaskActivator.Phase... phases) |
public static final java.lang.String RUN_CONFIGURATION_TASK_PREFIX
public ExternalSystemTaskActivator(Project project)
public static java.lang.String getRunConfigurationActivationTaskName(RunnerAndConfigurationSettings settings)
public void init()
public java.lang.String getDescription(ProjectSystemId systemId, java.lang.String projectPath, java.lang.String taskName)
public boolean runTasks(java.lang.String modulePath, ExternalSystemTaskActivator.Phase... phases)
public boolean runTasks(java.util.Collection<java.lang.String> modules, ExternalSystemTaskActivator.Phase... phases)
public void addListener(ExternalSystemTaskActivator.Listener l)
public boolean isTaskOfPhase(TaskData taskData, ExternalSystemTaskActivator.Phase phase)
public void addTasks(java.util.Collection<? extends TaskData> tasks, ExternalSystemTaskActivator.Phase phase)
public void addTasks(java.util.Collection<? extends ExternalSystemTaskActivator.TaskActivationEntry> entries)
public void removeTasks(java.util.Collection<? extends TaskData> tasks, ExternalSystemTaskActivator.Phase phase)
public void removeTasks(java.util.Collection<? extends ExternalSystemTaskActivator.TaskActivationEntry> entries)
public void addTask(ExternalSystemTaskActivator.TaskActivationEntry entry)
public void removeTask(ExternalSystemTaskActivator.TaskActivationEntry entry)
public void moveTasks(java.util.Collection<? extends ExternalSystemTaskActivator.TaskActivationEntry> entries, int increment)
public void moveProjects(ProjectSystemId systemId, java.util.List<java.lang.String> projectsPathsToMove, java.util.Collection<java.lang.String> pathsGroup, int increment)
public void fireTasksChanged()