com.ibm.ftt.projects.core.logicalfactory
Interface ISubProjectFactory
public interface ISubProjectFactory
A factory for creating subprojects.
COPY_RIGHT
static final String COPY_RIGHT
- See Also:
- Constant Field Values
createSubProject
ILogicalSubProject createSubProject(String name,
ILogicalProject parentProject)
throws OperationFailedException
- Creates a logical subproject with the given name.
Once the logical subproject has been created, the following additional
steps should be taken to ensure the subproject is properly initialized:
- Call it's
setSystems
method
- Call it's
setPersistentProperty
method for each required property.
- Parameters:
name - a String containing the name of the logical subproject to be
createdparentProject - the ILogicalProject to contain the new subproject
- Returns:
- the
ILogicalSubProject that is created
- Throws:
{@link - OperationFailedException}
when the subproject cannot be created due to errors
OperationFailedException