public abstract class InstantMediaEditorAction extends MediaEditorAction
DEFAULT_FORMAT, eventBus, valueContext
Constructor and Description |
---|
InstantMediaEditorAction(MediaEditorActionDefinition definition,
ValueContext<MediaState> valueContext,
info.magnolia.event.EventBus eventBus) |
Modifier and Type | Method and Description |
---|---|
void |
execute()
Executes the action.
|
protected abstract InputStream |
performModification(InputStream stream) |
createStreamSource
getDefinition
public InstantMediaEditorAction(MediaEditorActionDefinition definition, ValueContext<MediaState> valueContext, @Named(value="mediaeditor") info.magnolia.event.EventBus eventBus)
public void execute()
Action
protected abstract InputStream performModification(InputStream stream) throws IOException
IOException
Copyright © 2020 Magnolia International Ltd.. All rights reserved.