public abstract class AbstractShellCommand extends AbstractUICommand
Constructor and Description |
---|
AbstractShellCommand() |
Modifier and Type | Method and Description |
---|---|
UICommandMetadata |
getMetadata(UIContext context) |
boolean |
isEnabled(ShellContext context) |
boolean |
isEnabled(UIContext context)
Called before initializing the UI to check if it's available for execution
|
validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
execute, initializeUI
public UICommandMetadata getMetadata(UIContext context)
getMetadata
in interface UICommand
getMetadata
in class AbstractUICommand
context
- the UIContext
provided by the UI implementation, never nullpublic final boolean isEnabled(UIContext context)
UICommand
isEnabled
in interface UICommand
isEnabled
in class AbstractUICommand
context
- the UIContext
provided by the UI implementation, never nullpublic boolean isEnabled(ShellContext context)
Copyright © 2016 JBoss by Red Hat. All rights reserved.