org.ow2.shelbie.core.internal.handler.info
Class DefaultCommandInfo

java.lang.Object
  extended by org.ow2.shelbie.core.internal.handler.info.DefaultCommandInfo
All Implemented Interfaces:
org.ow2.shelbie.core.registry.info.CommandInfo, org.ow2.shelbie.core.registry.info.Descriptive, org.ow2.shelbie.core.registry.info.Named

public class DefaultCommandInfo
extends Object
implements org.ow2.shelbie.core.registry.info.CommandInfo

User: guillaume Date: 14/02/13 Time: 17:46


Constructor Summary
DefaultCommandInfo(String scope, String name, String description)
           
 
Method Summary
 void addArgument(org.ow2.shelbie.core.registry.info.ArgumentInfo argument)
           
 void addOption(org.ow2.shelbie.core.registry.info.OptionInfo option)
           
 List<org.ow2.shelbie.core.registry.info.ArgumentInfo> getArguments()
           
 String getDescription()
           
 String getName()
           
 List<org.ow2.shelbie.core.registry.info.OptionInfo> getOptions()
           
 String getScope()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultCommandInfo

public DefaultCommandInfo(String scope,
                          String name,
                          String description)
Method Detail

getScope

public String getScope()
Specified by:
getScope in interface org.ow2.shelbie.core.registry.info.CommandInfo

getOptions

public List<org.ow2.shelbie.core.registry.info.OptionInfo> getOptions()
Specified by:
getOptions in interface org.ow2.shelbie.core.registry.info.CommandInfo

getArguments

public List<org.ow2.shelbie.core.registry.info.ArgumentInfo> getArguments()
Specified by:
getArguments in interface org.ow2.shelbie.core.registry.info.CommandInfo

getDescription

public String getDescription()
Specified by:
getDescription in interface org.ow2.shelbie.core.registry.info.Descriptive

getName

public String getName()
Specified by:
getName in interface org.ow2.shelbie.core.registry.info.Named

addOption

public void addOption(org.ow2.shelbie.core.registry.info.OptionInfo option)

addArgument

public void addArgument(org.ow2.shelbie.core.registry.info.ArgumentInfo argument)


Copyright © 2013 OW2 Consortium. All Rights Reserved.