Package org.eclipse.pde.core.build
Interface IBuild
- All Superinterfaces:
IWritable
The top-level model object of the model that is created from
build.properties
file.- Restriction:
- This interface is not intended to be implemented by clients.
- Restriction:
- This interface is not intended to be extended by clients.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(IBuildEntry entry) Adds a new build entry.Returns all the build entries in this object.Returns the build entry with the specified name.void
remove
(IBuildEntry entry) Removes a build entry.
-
Method Details
-
add
Adds a new build entry. This method can throw a CoreException if the model is not editable.- Parameters:
entry
- an entry to be added- Throws:
CoreException
- if the model is not editable
-
getBuildEntries
IBuildEntry[] getBuildEntries()Returns all the build entries in this object.- Returns:
- an array of build entries
-
getEntry
Returns the build entry with the specified name.- Parameters:
name
- name of the desired entry- Returns:
- the entry object with the specified name, or null if not found.
-
remove
Removes a build entry. This method can throw a CoreException if the model is not editable.- Parameters:
entry
- an entry to be removed- Throws:
CoreException
- if the model is not editable
-