public class AddSecurityRequirementCommand extends AbstractCommand
Modifier and Type | Field and Description |
---|---|
boolean |
_added |
NodePath |
_parentPath |
Object |
_requirement |
Modifier and Type | Method and Description |
---|---|
void |
execute(Document document)
Called to execute the command against the given document.
|
protected int |
indexOfRequirement(List<SecurityRequirement> requirements,
SecurityRequirement requirement) |
protected boolean |
isEqual(SecurityRequirement req1,
SecurityRequirement req2) |
void |
undo(Document document)
Called to undo the command (restore the document to a previous state).
|
isNullOrUndefined, type
public NodePath _parentPath
public Object _requirement
public boolean _added
public void execute(Document document)
ICommand
public void undo(Document document)
ICommand
protected int indexOfRequirement(List<SecurityRequirement> requirements, SecurityRequirement requirement)
protected boolean isEqual(SecurityRequirement req1, SecurityRequirement req2)
Copyright © 2021 Red Hat. All rights reserved.