Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'core/org.eclipse.cdt.core/src/org/eclipse/cdt/core/ICommandLauncher.java')
-rw-r--r--core/org.eclipse.cdt.core/src/org/eclipse/cdt/core/ICommandLauncher.java26
1 files changed, 14 insertions, 12 deletions
diff --git a/core/org.eclipse.cdt.core/src/org/eclipse/cdt/core/ICommandLauncher.java b/core/org.eclipse.cdt.core/src/org/eclipse/cdt/core/ICommandLauncher.java
index 57a04880ed8..e0f94d4f315 100644
--- a/core/org.eclipse.cdt.core/src/org/eclipse/cdt/core/ICommandLauncher.java
+++ b/core/org.eclipse.cdt.core/src/org/eclipse/cdt/core/ICommandLauncher.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -20,7 +20,7 @@ import org.eclipse.core.runtime.IProgressMonitor;
/**
* An interface for launchers of external commands.
- *
+ *
* @since 5.1
*/
public interface ICommandLauncher {
@@ -28,19 +28,19 @@ public interface ICommandLauncher {
public final static int COMMAND_CANCELED = 1;
public final static int ILLEGAL_COMMAND = -1;
public final static int OK = 0;
-
-
+
+
/**
* Sets the project that this launcher is associated with, or <code>null</code> if there is no such
* project.
- *
+ *
* @param project
*/
public void setProject(IProject project);
-
+
/**
* Gets the project this launcher is associated with.
- *
+ *
* @return IProject, or <code>null</code> if there is no such project.
*/
public IProject getProject();
@@ -53,7 +53,7 @@ public interface ICommandLauncher {
/**
* Returns a human readable error message corresponding to the last error encountered during command
* execution.
- *
+ *
* @return A String corresponding to the error, or <code>null</code> if there has been no error.
*/
public String getErrorMessage();
@@ -61,7 +61,7 @@ public interface ICommandLauncher {
/**
* Sets the human readable error message corresponding to the last error encountered during command
* execution. A subsequent call to getErrorMessage() will return this string.
- *
+ *
* @param error A String corresponding to the error message, or <code>null</code> if the error state is
* intended to be cleared.
*/
@@ -69,7 +69,7 @@ public interface ICommandLauncher {
/**
* Returns an array of the command line arguments that were last used to execute a command.
- *
+ *
* @return an array of type String[] corresponding to the arguments. The array can be empty, but should not
* be null.
*/
@@ -78,14 +78,14 @@ public interface ICommandLauncher {
/**
* Returns the set of environment variables in the context of which
* this launcher will execute commands.
- *
+ *
* @return Properties
*/
public Properties getEnvironment();
/**
* Returns the constructed command line of the last command executed.
- *
+ *
* @return String
*/
public String getCommandLine();
@@ -99,7 +99,9 @@ public interface ICommandLauncher {
/**
* Reads output form the process to the streams.
+ * @deprecated Deprecated as of CDT 8.1. Use method taking IProgressMonitor instead.
*/
+ @Deprecated
public int waitAndRead(OutputStream out, OutputStream err);
/**

Back to the top