Class AbstractCommand<T,V>
- java.lang.Object
-
- org.kie.workbench.common.command.client.AbstractCommand<T,V>
-
-
Constructor Summary
Constructors Constructor Description AbstractCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CommandResult<V>allow(T context)Check whether the command operation is allowed.protected CommandResult<V>buildResult()
-
-
-
Method Detail
-
allow
public CommandResult<V> allow(T context)
Description copied from interface:CommandCheck whether the command operation is allowed. Does not perform any update or mutation.
-
buildResult
protected CommandResult<V> buildResult()
-
-