Class AddSupport
java.lang.Object
ca.mcscert.jpipe.commands.RegularCommand
ca.mcscert.jpipe.commands.linking.AddSupport
- All Implemented Interfaces:
Command
Establishes a support edge between two elements that already exist in the
same justification model.
Valid pairs:
Conclusionsupported byStrategySubConclusionsupported byStrategyStrategysupported by anySupportLeaf(Evidence,SubConclusion,AbstractSupport)
The command defers execution until both elements are present in the model, which handles the case where elements are declared out of order in the source.
-
Constructor Summary
ConstructorsConstructorDescriptionAddSupport(String container, String supportableId, String supporterId) AddSupport(String container, String supportableId, String supporterId, SourceLocation location) -
Method Summary
Methods inherited from class RegularCommand
execute
-
Constructor Details
-
AddSupport
-
AddSupport
public AddSupport(String container, String supportableId, String supporterId, SourceLocation location)
-
-
Method Details
-
container
-
supportableId
-
supporterId
-
location
-
condition
-
doExecute
- Specified by:
doExecutein classRegularCommand
-
toString
-