com.ibm.ftt.projects.core.logical
Class LogicalSubProjectBuilder

java.lang.Object
  extended by com.ibm.ftt.projects.core.logical.LogicalSubProjectBuilder
All Implemented Interfaces:
ILogicalSubProjectBuilder

public abstract class LogicalSubProjectBuilder
extends Object
implements ILogicalSubProjectBuilder


Field Summary
static String COPY_RIGHT
           
static int FULL_BUILD
          Build kind constant (value 6) indicating a full build request.
 
Constructor Summary
LogicalSubProjectBuilder()
           
 
Method Summary
abstract  ILogicalSubProject[] build(int kind, IProgressMonitor monitor)
          Runs this builder in the specified manner.
 ILogicalSubProject getSubProject()
          Returns the subProject for which this builder operates
 void setSubProject(ILogicalSubProject value)
          Sets the subProject for which this builder operates.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COPY_RIGHT

public static final String COPY_RIGHT
See Also:
Constant Field Values

FULL_BUILD

public static final int FULL_BUILD
Build kind constant (value 6) indicating a full build request.

See Also:
Constant Field Values
Constructor Detail

LogicalSubProjectBuilder

public LogicalSubProjectBuilder()
Method Detail

build

public abstract ILogicalSubProject[] build(int kind,
                                           IProgressMonitor monitor)
                                    throws CoreException
Runs this builder in the specified manner. Subclasses should implement this method to do the processing they require.

Specified by:
build in interface ILogicalSubProjectBuilder
Parameters:
kind - the kind of build being requested. Currently only LogicalSubProjectBuilder.FULL_BUILD is supported.
monitor - an IProgressMonitor which may be used to display the progress of the build operation
Returns:
an array of ILogicalSubProjects that have been built
Throws:
CoreException

setSubProject

public void setSubProject(ILogicalSubProject value)
Sets the subProject for which this builder operates.

Specified by:
setSubProject in interface ILogicalSubProjectBuilder
Parameters:
value - the ILogicalSubProject for which this builder operates
See Also:
LogicalSubProjectBuilder.getSubProject()

getSubProject

public ILogicalSubProject getSubProject()
Returns the subProject for which this builder operates

Specified by:
getSubProject in interface ILogicalSubProjectBuilder
Returns:
the ILogicalSubProject for which this builder operates