Interface ICdtVariable
- All Known Implementing Classes:
CdtVariable
,SupplierBasedCdtVariableSubstitutor.ResolvedMacro
public interface ICdtVariable
This interface represents the given build macro
Clients may implement or extend this interface.
- Since:
- 3.0
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
can hold both file and dir pathstatic final int
can hold the array of PATH_ANY valuesstatic final int
can hold dir pathstatic final int
can hold the array of dir path valuesstatic final int
can hold file pathstatic final int
can hold the array of file path valuesstatic final int
can hold any text stringstatic final int
can hold the array of text string values -
Method Summary
-
Field Details
-
VALUE_TEXT
static final int VALUE_TEXTcan hold any text string- See Also:
-
VALUE_TEXT_LIST
static final int VALUE_TEXT_LISTcan hold the array of text string values- See Also:
-
VALUE_PATH_FILE
static final int VALUE_PATH_FILEcan hold file path- See Also:
-
VALUE_PATH_FILE_LIST
static final int VALUE_PATH_FILE_LISTcan hold the array of file path values- See Also:
-
VALUE_PATH_DIR
static final int VALUE_PATH_DIRcan hold dir path- See Also:
-
VALUE_PATH_DIR_LIST
static final int VALUE_PATH_DIR_LISTcan hold the array of dir path values- See Also:
-
VALUE_PATH_ANY
static final int VALUE_PATH_ANYcan hold both file and dir path- See Also:
-
VALUE_PATH_ANY_LIST
static final int VALUE_PATH_ANY_LISTcan hold the array of PATH_ANY values- See Also:
-
-
Method Details
-
getName
String getName()Returns the macro name -
getValueType
int getValueType()- Returns:
- IBuildMacro.VALUE_xxx
-
getStringValue
- Throws:
CdtVariableException
- if macro holds StringList-type value
-
getStringListValue
- Throws:
CdtVariableException
- if macro holds single String-type value
-