From a3bc9917a44b45b06331c1dd5652f5c0b5669234 Mon Sep 17 00:00:00 2001 From: "Vladislav.Soroka" Date: Fri, 18 Aug 2017 17:32:33 +0300 Subject: [PATCH] cleanup --- ...xternalSystemTaskNotificationListener.java | 32 +++++++------------ 1 file changed, 12 insertions(+), 20 deletions(-) diff --git a/platform/external-system-api/src/com/intellij/openapi/externalSystem/model/task/ExternalSystemTaskNotificationListener.java b/platform/external-system-api/src/com/intellij/openapi/externalSystem/model/task/ExternalSystemTaskNotificationListener.java index fd8cded4a1eb..abcbdea1c977 100644 --- a/platform/external-system-api/src/com/intellij/openapi/externalSystem/model/task/ExternalSystemTaskNotificationListener.java +++ b/platform/external-system-api/src/com/intellij/openapi/externalSystem/model/task/ExternalSystemTaskNotificationListener.java @@ -5,7 +5,7 @@ import org.jetbrains.annotations.NotNull; /** * Defines contract for callback to listen external task notifications. - * + * * @author Denis Zhdanov * @since 11/10/11 11:57 AM */ @@ -22,7 +22,7 @@ public interface ExternalSystemTaskNotificationListener { /** * Notifies that task with the given id is about to be started. * - * @param id target task's id + * @param id target task's id * @param workingDir working directory */ default void onStart(@NotNull ExternalSystemTaskId id, String workingDir) { @@ -38,46 +38,38 @@ public interface ExternalSystemTaskNotificationListener { /** * Notifies about processing state change of task with the given id. * - * @param event event that holds information about processing change state of the - * {@link ExternalSystemTaskNotificationEvent#getId() target task} + * @param event event that holds information about processing change state of the + * {@link ExternalSystemTaskNotificationEvent#getId() target task} */ void onStatusChange(@NotNull ExternalSystemTaskNotificationEvent event); /** * Notifies about text written to stdout/stderr during the task execution * - * @param id id of the task being executed - * @param text text produced by external system during the target task execution - * @param stdOut flag which identifies output type (stdout or stderr) + * @param id id of the task being executed + * @param text text produced by external system during the target task execution + * @param stdOut flag which identifies output type (stdout or stderr) */ void onTaskOutput(@NotNull ExternalSystemTaskId id, @NotNull String text, boolean stdOut); - ///** - // * Notifies about stdin during the task execution - // * - // * @param id id of the task being executed - // * @param text text produced by external system during the target task execution - // */ - //void onTaskInput(@NotNull ExternalSystemTaskId id, @NotNull String text); - /** * Notifies that task with the given id is finished. * - * @param id target task's id + * @param id target task's id */ void onEnd(@NotNull ExternalSystemTaskId id); /** * Notifies that task with the given id is finished successfully. * - * @param id target task's id + * @param id target task's id */ void onSuccess(@NotNull ExternalSystemTaskId id); /** * Notifies that task with the given id is failed. * - * @param id target task's id + * @param id target task's id * @param e failure exception */ void onFailure(@NotNull ExternalSystemTaskId id, @NotNull Exception e); @@ -88,14 +80,14 @@ public interface ExternalSystemTaskNotificationListener { * 'Queued' here means that intellij process-local codebase receives request to cancel the target task and even has not been * sent it to the slave gradle api process. * - * @param id target task's id + * @param id target task's id */ void beforeCancel(@NotNull ExternalSystemTaskId id); /** * Notifies that task with the given id is cancelled. * - * @param id target task's id + * @param id target task's id */ void onCancel(@NotNull ExternalSystemTaskId id); }