public class NewParamCommand extends AbstractCommand
Modifier and Type | Field and Description |
---|---|
boolean |
_created |
String |
_description |
SimplifiedParameterType |
_newType |
boolean |
_override |
String |
_paramName |
String |
_paramType |
NodePath |
_parentPath |
Modifier and Type | Method and Description |
---|---|
protected void |
_setParameterType(OasParameter parameter)
Sets the parameter type.
|
void |
execute(Document document)
Called to execute the command against the given document.
|
OasParameter |
findOverridableParam(OasOperation operation)
Tries to find the parameter being overridden (if any).
|
void |
undo(Document document)
Called to undo the command (restore the document to a previous state).
|
isNullOrUndefined, type
public String _paramName
public String _paramType
public NodePath _parentPath
public String _description
public SimplifiedParameterType _newType
public boolean _override
public boolean _created
public void execute(Document document)
ICommand
public void undo(Document document)
ICommand
protected void _setParameterType(OasParameter parameter)
parameter
- public OasParameter findOverridableParam(OasOperation operation)
Copyright © 2019 Red Hat. All rights reserved.