Forge - Aesh Addon Impl 2.0.0.Alpha3

org.jboss.forge.aesh.util
Class UICommandDelegate

java.lang.Object
  extended by org.jboss.forge.aesh.util.UICommandDelegate
All Implemented Interfaces:
UICommand

@Vetoed
public class UICommandDelegate
extends Object
implements UICommand

Author:
Ståle W. Pedersen

Constructor Summary
UICommandDelegate(UICommand delegate)
           
 
Method Summary
 Result execute(UIContext context)
           
 UICommandMetadata getMetadata()
           
 void initializeUI(UIBuilder builder)
           
 boolean isEnabled(UIContext context)
           
 void validate(UIValidationContext validator)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UICommandDelegate

public UICommandDelegate(UICommand delegate)
Method Detail

getMetadata

public UICommandMetadata getMetadata()
Specified by:
getMetadata in interface UICommand

isEnabled

public boolean isEnabled(UIContext context)
Specified by:
isEnabled in interface UICommand

initializeUI

public void initializeUI(UIBuilder builder)
                  throws Exception
Specified by:
initializeUI in interface UICommand
Throws:
Exception

validate

public void validate(UIValidationContext validator)
Specified by:
validate in interface UICommand

execute

public Result execute(UIContext context)
               throws Exception
Specified by:
execute in interface UICommand
Throws:
Exception

Forge - Aesh Addon Impl 2.0.0.Alpha3

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.