wt.step
Class BaselineExportSelection

java.lang.Object
  extended bywt.step.ExportSelection
      extended bywt.step.BaselineExportSelection
All Implemented Interfaces:
Serializable

public class BaselineExportSelection
extends ExportSelection

An export selection based on the content of a Baseline

See Also:
Serialized Form

Field Summary
private  ManagedBaseline _baseline
           
 
Fields inherited from class wt.step.ExportSelection
 
Constructor Summary
BaselineExportSelection(WTDocument exportToDocument, String exportSchema, String contentName, String stepFileName, boolean areFilesExported, ManagedBaseline baseline)
          Constructs a Baseline export selection.
 
Method Summary
 String getDescription()
           
 WTObject[] getSelectedContent()
          Calculates and returns the collection of objects defined by this selection
 String toString()
           
 
Methods inherited from class wt.step.ExportSelection
areFilesExported, getContentName, getExportHolder, getSchema, getStepFileName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_baseline

private ManagedBaseline _baseline
Constructor Detail

BaselineExportSelection

public BaselineExportSelection(WTDocument exportToDocument,
                               String exportSchema,
                               String contentName,
                               String stepFileName,
                               boolean areFilesExported,
                               ManagedBaseline baseline)
Constructs a Baseline export selection.

Parameters:
exportToDocument - the document which will hold the exported Step package.
exportSchema - the name of the Step export Schema to use
contentName - the name of the Step export package content file
stepFileName - the name of the Step file within the export package
areFilesExported - wether the content of files should be included
baseline - the baseline whose content should be exported
Method Detail

getDescription

public String getDescription()
Specified by:
getDescription in class ExportSelection
Returns:
A description of the content and constraints on this export selection.

toString

public String toString()

getSelectedContent

public WTObject[] getSelectedContent()
                              throws TransferException
Description copied from class: ExportSelection
Calculates and returns the collection of objects defined by this selection

Specified by:
getSelectedContent in class ExportSelection
Throws:
TransferException