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