org.eclipse.cdt.make.core.makefile
Interface ICommand

All Superinterfaces:
IDirective
All Known Implementing Classes:
Command

public interface ICommand
extends IDirective

ICommand Commands are associated with a rule and executed by the make program when building a target.


Field Summary
static char AT
           
static java.lang.String AT_STRING
           
static char HYPHEN
           
static java.lang.String HYPHEN_STRING
           
static char PLUS
           
static java.lang.String PLUS_STRING
           
static char TAB
           
 
Method Summary
 java.lang.Process execute(java.lang.String shell, java.lang.String[] envp, java.io.File dir)
          Executes the command in a separate process with the specified environment and working directory.
 boolean shouldBeSilent()
           
 boolean shouldExecute()
          + If the command prefix contains a plus sign, this indicates a command line that will be executed even if -n, -q or -t is specified.
 boolean shouldIgnoreError()
          - If the command prefix contains a hyphen, or the -i option is present, or the special target .IGNORE has either the current target as a prerequisite or has no prerequisites, any error found while executing the command will be ignored.
 
Methods inherited from interface org.eclipse.cdt.make.core.makefile.IDirective
getEndLine, getFileName, getParent, getStartLine, toString
 

Field Detail

HYPHEN

static final char HYPHEN
See Also:
Constant Field Values

HYPHEN_STRING

static final java.lang.String HYPHEN_STRING
See Also:
Constant Field Values

AT

static final char AT
See Also:
Constant Field Values

AT_STRING

static final java.lang.String AT_STRING
See Also:
Constant Field Values

PLUS

static final char PLUS
See Also:
Constant Field Values

PLUS_STRING

static final java.lang.String PLUS_STRING
See Also:
Constant Field Values

TAB

static final char TAB
See Also:
Constant Field Values
Method Detail

shouldIgnoreError

boolean shouldIgnoreError()
- If the command prefix contains a hyphen, or the -i option is present, or the special target .IGNORE has either the current target as a prerequisite or has no prerequisites, any error found while executing the command will be ignored.


shouldBeSilent

boolean shouldBeSilent()

shouldExecute

boolean shouldExecute()
+ If the command prefix contains a plus sign, this indicates a command line that will be executed even if -n, -q or -t is specified.


execute

java.lang.Process execute(java.lang.String shell,
                          java.lang.String[] envp,
                          java.io.File dir)
                          throws java.io.IOException
Executes the command in a separate process with the specified environment and working directory.

Throws:
java.io.IOException