Forge - Aesh Addon Impl 2.0.0.Alpha3

org.jboss.forge.aesh.commands
Class ListServicesCommand

java.lang.Object
  extended by org.jboss.forge.aesh.commands.ListServicesCommand
All Implemented Interfaces:
UICommand

public class ListServicesCommand
extends Object
implements UICommand

Author:
Ståle W. Pedersen

Constructor Summary
ListServicesCommand(AddonRegistry registry)
           
 
Method Summary
 Result execute(UIContext context)
           
 UICommandMetadata getMetadata()
           
 String getName(Method method)
           
 void initializeUI(UIBuilder builder)
           
 boolean isEnabled(UIContext context)
           
 void validate(UIValidationContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListServicesCommand

@Inject
public ListServicesCommand(AddonRegistry registry)
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 context)
Specified by:
validate in interface UICommand

execute

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

getName

public String getName(Method method)

Forge - Aesh Addon Impl 2.0.0.Alpha3

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