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
|
validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecute, initializeUIpublic UICommandMetadata getMetadata(UIContext context)
getMetadata in interface UICommandgetMetadata in class AbstractUICommandcontext - the UIContext provided by the UI implementation, never nullpublic final boolean isEnabled(UIContext context)
UICommandisEnabled in interface UICommandisEnabled in class AbstractUICommandcontext - the UIContext provided by the UI implementation, never nullpublic boolean isEnabled(ShellContext context)
Copyright © 2016 JBoss by Red Hat. All rights reserved.