org.sonatype.gshell.command.descriptor
Class CommandsDescriptor

java.lang.Object
  extended by org.sonatype.gshell.command.descriptor.CommandsDescriptor
All Implemented Interfaces:
Serializable

public class CommandsDescriptor
extends Object
implements Serializable

Commands descriptor.

Since:
2.1 .
Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
CommandsDescriptor()
           
 
Method Summary
 void addCommandSet(CommandSetDescriptor commandSetDescriptor)
          Method addCommandSet.
 List<CommandSetDescriptor> getCommandSets()
          Method getCommandSets.
 String getModelEncoding()
          Get the modelEncoding field.
 String getVersion()
          Get the version field.
 void removeCommandSet(CommandSetDescriptor commandSetDescriptor)
          Method removeCommandSet.
 void setCommandSets(List<CommandSetDescriptor> commandSets)
          Set the commandSets field.
 void setModelEncoding(String modelEncoding)
          Set the modelEncoding field.
 void setVersion(String version)
          Set the version field.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandsDescriptor

public CommandsDescriptor()
Method Detail

addCommandSet

public void addCommandSet(CommandSetDescriptor commandSetDescriptor)
Method addCommandSet.

Parameters:
commandSetDescriptor -

getCommandSets

public List<CommandSetDescriptor> getCommandSets()
Method getCommandSets.

Returns:
List

getModelEncoding

public String getModelEncoding()
Get the modelEncoding field.

Returns:
String

getVersion

public String getVersion()
Get the version field.

Returns:
String

removeCommandSet

public void removeCommandSet(CommandSetDescriptor commandSetDescriptor)
Method removeCommandSet.

Parameters:
commandSetDescriptor -

setCommandSets

public void setCommandSets(List<CommandSetDescriptor> commandSets)
Set the commandSets field.

Parameters:
commandSets -

setModelEncoding

public void setModelEncoding(String modelEncoding)
Set the modelEncoding field.

Parameters:
modelEncoding -

setVersion

public void setVersion(String version)
Set the version field.

Parameters:
version -


Copyright © 2008-2011 Sonatype. All Rights Reserved.