|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ILogicalSubProject
A logical subproject is a collection of artifacts representing a build unit.
| Field Summary | |
|---|---|
static String |
COPY_RIGHT
|
| Method Summary | |
|---|---|
void |
addNatureId(String natureId)
Adds the specified natureId to the subproject. |
void |
build(org.eclipse.core.runtime.IProgressMonitor monitor)
Perform a build operation on the files of the subproject. |
IBuildCommand[] |
getBuildSpec()
Returns the array of commands required to build the subproject. |
String[] |
getNatureIds()
Returns the ids of the natures that have been added to this subproject. |
ILogicalProject |
getProject()
Returns the project which is the parent of this subproject. |
IOSImage[] |
getSystems()
Returns the systems associated with the subproject. |
boolean |
hasNature(String natureId)
Returns true if the subproject nature specified by the given nature id has been added to this logical subproject. |
IBuildCommand |
newCommand()
Returns an empty build command. |
void |
removeNatureId(String natureId)
Removes the subproject nature associated with the specified natureId from the subproject. |
void |
setBuildSpec(IBuildCommand[] value)
Sets the build specification for this subproject. |
void |
setNatureIds(String[] natureIds)
Sets the list of nature ids associated with this subproject. |
void |
setSystems(IOSImage[] systems)
Sets the systems for this subproject. |
| Methods inherited from interface com.ibm.ftt.projects.core.logical.ILogicalContainer |
|---|
addMember, removeMember |
| Methods inherited from interface com.ibm.ftt.resources.core.physical.IContainer |
|---|
exists, findMember, findMember, getMembers, members |
| Methods inherited from interface com.ibm.ftt.projects.core.logical.ILogicalResource |
|---|
delete, deleteOverriddenPropertiesInCategory, deleteOverride, getCurrentPropertyGroup, getFullPath, getLogicalParent, getName, getOverriddenProperties, getPersistentProperty, getPhysicalResource, getResourcePublisher, getSessionProperty, getSubProject, refresh, remove, rename, setCurrentPropertyGroup, setOverride, setPersistentProperty, setSessionProperty |
| Field Detail |
|---|
static final String COPY_RIGHT
| Method Detail |
|---|
IOSImage[] getSystems()
IOSImage array representing the systems associated
with the subproject
void addNatureId(String natureId)
throws org.eclipse.core.runtime.CoreException
natureId
should correspond to an ILogicalSubProjectNature class as defined
in an appropriate com.ibm.ftt.projects.core.natures
extension point. A nature can be used to associate an appropriate builder
with the subproject, and can also be used for filtering contributed
actions and other user interface elements.
natureId - a String containing the id of the nature
org.eclipse.core.runtime.CoreExceptionILogicalSubProjectNature
void build(org.eclipse.core.runtime.IProgressMonitor monitor)
throws org.eclipse.core.runtime.CoreException
monitor - a progress monitor, or null if progress
reporting is not desired
org.eclipse.core.runtime.CoreExceptionIBuildCommand[] getBuildSpec()
IBuildCommands
that have been assigned for this subprojectaddNatureId(String),
removeNatureId(String),
getNatureIds()IBuildCommand newCommand()
ILogicalSubProjectNature.
IBuildCommand which can be initialized and added to
the subproject's build specificationsetBuildSpec(IBuildCommand[])ILogicalProject getProject()
ILogicalProject which contains this subprojectString[] getNatureIds()
setNatureIds(String[]),
addNatureId(String)
boolean hasNature(String natureId)
throws org.eclipse.core.runtime.CoreException
natureId - a String containing the id of a valid
com.ibm.ftt.projects.core.natures extension
point.
true if the subproject has the given nature,
false otherwise
org.eclipse.core.runtime.CoreException - if this method fails.
void removeNatureId(String natureId)
throws org.eclipse.core.runtime.CoreException
natureId - a String containing the id of a valid
com.ibm.ftt.projects.core.natures extension
point.
org.eclipse.core.runtime.CoreException - if this method fails. Reasons include:
void setBuildSpec(IBuildCommand[] value)
ILogicalSubProjectNature.
value - an array of IBuildCommands which comprise the build
specificationnewCommand()void setNatureIds(String[] natureIds)
natureIds - an array of Strings containing the nature ids
void setSystems(IOSImage[] systems)
throws OperationFailedException
systems - the IOSImage array for the systems associated with
this subproject. This method should normally only be used in
association with the creation of subproject objects.
OperationFailedExceptionISubProjectFactory.createSubProject(String,
ILogicalProject)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||