public class ChangeMediaTypeTypeCommand extends AbstractCommand
Modifier and Type | Field and Description |
---|---|
boolean |
_changed |
String |
_mediaTypeName |
NodePath |
_mediaTypePath |
SimplifiedType |
_newType |
Object |
_oldMediaTypeSchema |
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 NodePath _mediaTypePath
public String _mediaTypeName
public SimplifiedType _newType
public boolean _changed
public Object _oldMediaTypeSchema
public void execute(Document document)
ICommand
Copyright © 2021 Red Hat. All rights reserved.