public class CommandSetDescriptor extends Object implements Comparable<CommandSetDescriptor>, Serializable
Constructor and Description |
---|
CommandSetDescriptor() |
Modifier and Type | Method and Description |
---|---|
void |
addCommand(CommandDescriptor commandDescriptor)
Method addCommand.
|
void |
addHelpPage(HelpPageDescriptor helpPageDescriptor)
Method addHelpPage.
|
void |
breakCommandDescriptorAssociation(CommandDescriptor commandDescriptor)
Method breakCommandDescriptorAssociation.
|
int |
compareTo(CommandSetDescriptor target) |
void |
createCommandDescriptorAssociation(CommandDescriptor commandDescriptor)
Method createCommandDescriptorAssociation.
|
boolean |
equals(Object other)
Method equals.
|
int |
getAutoRegisterPriority()
Get the autoRegisterPriority field.
|
List<CommandDescriptor> |
getCommands()
Method getCommands.
|
List<HelpPageDescriptor> |
getHelpPages()
Method getHelpPages.
|
String |
getId()
Get the id field.
|
int |
hashCode()
Method hashCode.
|
boolean |
isEnabled()
Get the enabled field.
|
void |
removeCommand(CommandDescriptor commandDescriptor)
Method removeCommand.
|
void |
removeHelpPage(HelpPageDescriptor helpPageDescriptor)
Method removeHelpPage.
|
void |
setAutoRegisterPriority(int autoRegisterPriority)
Set the autoRegisterPriority field.
|
void |
setCommands(List<CommandDescriptor> commands)
Set the commands field.
|
void |
setEnabled(boolean enabled)
Set the enabled field.
|
void |
setHelpPages(List<HelpPageDescriptor> helpPages)
Set the helpPages field.
|
void |
setId(String id)
Set the id field.
|
String |
toString()
Method toString.
|
public void addCommand(CommandDescriptor commandDescriptor)
commandDescriptor
- public void addHelpPage(HelpPageDescriptor helpPageDescriptor)
helpPageDescriptor
- public void breakCommandDescriptorAssociation(CommandDescriptor commandDescriptor)
commandDescriptor
- public void createCommandDescriptorAssociation(CommandDescriptor commandDescriptor)
commandDescriptor
- public boolean equals(Object other)
public int getAutoRegisterPriority()
public List<CommandDescriptor> getCommands()
public List<HelpPageDescriptor> getHelpPages()
public String getId()
public boolean isEnabled()
public void removeCommand(CommandDescriptor commandDescriptor)
commandDescriptor
- public void removeHelpPage(HelpPageDescriptor helpPageDescriptor)
helpPageDescriptor
- public void setAutoRegisterPriority(int autoRegisterPriority)
autoRegisterPriority
- public void setCommands(List<CommandDescriptor> commands)
commands
- public void setEnabled(boolean enabled)
enabled
- public void setHelpPages(List<HelpPageDescriptor> helpPages)
helpPages
- public void setId(String id)
id
- public String toString()
public int compareTo(CommandSetDescriptor target)
compareTo
in interface Comparable<CommandSetDescriptor>
Copyright © 2008-2012 Sonatype. All Rights Reserved.