public class ChangeVersionCommand extends AbstractCommand
Modifier and Type | Field and Description |
---|---|
String |
_newVersion |
boolean |
_nullInfo |
String |
_oldVersion |
Modifier and Type | Method and Description |
---|---|
void |
execute(Document document)
Called to execute the command against the given document.
|
void |
undo(Document document)
Called to undo the command (restore the document to a previous state).
|
isNullOrUndefined, type
public String _newVersion
public String _oldVersion
public boolean _nullInfo
public void execute(Document document)
ICommand
Copyright © 2020 Red Hat. All rights reserved.