public class CreateBaselineCommand extends CommandWrapper
The command execution will:
Below is a snippet illustrating how to use a baseline reference (see CommandRunner
for a full snippet):
ModuleRef module = ModuleRef.qualifiedName("/MyFolder/MyModule"); BaselineRef baseline = BaselineRef.nextMajor(); CreateBaselineCommand command = new CreateBaselineCommand(module, baseline); myCommandRunner.run(command);
This class is not intended to be subclassed by clients but may be instantiated.
CommandRunner
,
BaselineRef
Constructor and Description |
---|
CreateBaselineCommand(ModuleRef module,
BaselineRef baseline)
Instantiates a command to create a baseline for the specified DOORS module.
|
CreateBaselineCommand(ModuleRef module,
BaselineRef baseline,
String description)
Instantiates a command to create a baseline for the specified DOORS module, with a description.
|
public CreateBaselineCommand(ModuleRef module, BaselineRef baseline)
module
- the module for which a baseline is to create.baseline
- the baseline to create.public CreateBaselineCommand(ModuleRef module, BaselineRef baseline, String description)
module
- the module for which a baseline is to create.baseline
- the baseline to create.description
- the annotation associated with the created baseline.