Modifier and Type | Field and Description |
---|---|
static String |
BIN_INCLUDES
The name of the key that lists all the folders and files
to be included in the binary build.
|
static String |
JAR_PREFIX
The prefix for any key denoting the source folders that
should be compiled into a JAR.
|
static String |
JARS_EXTRA_CLASSPATH
The name of the key that declares extra library entries to be added
to the class path at build time only..
|
static String |
OUTPUT_PREFIX
The prefix for any key denoting output folders for a particular
JAR.
|
static String |
P_NAME
A property name for changes to the 'name' field.
|
static String |
SECONDARY_DEPENDENCIES
The name of the key that declares additional plug-in dependencies to augment development classpath
|
static String |
SRC_INCLUDES
The name of the key that lists all the folders and files
to be included in the source build.
|
Modifier and Type | Method and Description |
---|---|
void |
addToken(String token)
Adds the token to the list of token for this entry.
|
boolean |
contains(String token)
Returns true if the provided token exists in this entry.
|
IBuildModel |
getModel()
Returns a model that owns this entry
|
String |
getName()
Returns the name of this entry.
|
String[] |
getTokens()
Returns an array of tokens for this entry
|
void |
removeToken(String token)
Removes the token from the list of tokens for this entry.
|
void |
renameToken(String oldToken,
String newToken)
Changes the name of the token without changing its
position in the list.
|
void |
setName(String name)
Sets the name of this build entry.
|
static final String P_NAME
static final String JAR_PREFIX
static final String OUTPUT_PREFIX
static final String BIN_INCLUDES
static final String SRC_INCLUDES
static final String JARS_EXTRA_CLASSPATH
static final String SECONDARY_DEPENDENCIES
void addToken(String token) throws CoreException
token
- a name to be added to the list of tokensCoreException
- if the model is not editableIBuildModel getModel()
String getName()
String[] getTokens()
boolean contains(String token)
token
- the string token to look forvoid removeToken(String token) throws CoreException
token
- a name to be removed from the list of tokensCoreException
- if the model is not editablevoid renameToken(String oldToken, String newToken) throws CoreException
oldToken
- the old token namenewToken
- the new token nameCoreException
- if the model is not editablevoid setName(String name) throws CoreException
name
- the new name for the entryCoreException
- if the model is not editable
Copyright (c) 2000, 2017 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.