org.sonatype.gshell.command.descriptor
Class CommandDescriptor

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

public class CommandDescriptor
extends Object
implements Serializable

Command descriptor.

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

Constructor Summary
CommandDescriptor()
           
 
Method Summary
 void breakCommandSetDescriptorAssociation(CommandSetDescriptor commandSetDescriptor)
          Method breakCommandSetDescriptorAssociation.
 void createCommandSetDescriptorAssociation(CommandSetDescriptor commandSetDescriptor)
          Method createCommandSetDescriptorAssociation.
 boolean equals(Object other)
          Method equals.
 String getAction()
          Get the action field.
 String getName()
          Get the name field.
 CommandSetDescriptor getParent()
          Get the parent field.
 int hashCode()
          Method hashCode.
 boolean isEnabled()
          Get the enabled field.
 void setAction(String action)
          Set the action field.
 void setEnabled(boolean enabled)
          Set the enabled field.
 void setName(String name)
          Set the name field.
 String toString()
          Method toString.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CommandDescriptor

public CommandDescriptor()
Method Detail

breakCommandSetDescriptorAssociation

public void breakCommandSetDescriptorAssociation(CommandSetDescriptor commandSetDescriptor)
Method breakCommandSetDescriptorAssociation.

Parameters:
commandSetDescriptor -

createCommandSetDescriptorAssociation

public void createCommandSetDescriptorAssociation(CommandSetDescriptor commandSetDescriptor)
Method createCommandSetDescriptorAssociation.

Parameters:
commandSetDescriptor -

equals

public boolean equals(Object other)
Method equals.

Overrides:
equals in class Object
Parameters:
other -
Returns:
boolean

getAction

public String getAction()
Get the action field.

Returns:
String

getName

public String getName()
Get the name field.

Returns:
String

getParent

public CommandSetDescriptor getParent()
Get the parent field.

Returns:
CommandSetDescriptor

hashCode

public int hashCode()
Method hashCode.

Overrides:
hashCode in class Object
Returns:
int

isEnabled

public boolean isEnabled()
Get the enabled field.

Returns:
boolean

setAction

public void setAction(String action)
Set the action field.

Parameters:
action -

setEnabled

public void setEnabled(boolean enabled)
Set the enabled field.

Parameters:
enabled -

setName

public void setName(String name)
Set the name field.

Parameters:
name -

toString

public String toString()
Method toString.

Overrides:
toString in class Object
Returns:
String


Copyright © 2008-2011 Sonatype. All Rights Reserved.