Class Category
- java.lang.Object
-
- org.opends.guitools.controlpanel.datamodel.Category
-
public class Category extends Object
Class containing the different actions for a given category. For instance for the Category 'Indexes' the Actions are 'Manage Indexes...', 'Verify Indexes...' etc.
-
-
Constructor Summary
Constructors Constructor Description Category()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAction(Action action)Adds an action to this category.List<Action>getActions()Returns the actions associated with this category.org.forgerock.i18n.LocalizableMessagegetName()Returns the name of the category.voidsetName(org.forgerock.i18n.LocalizableMessage name)Sets the name of the category.
-
-
-
Method Detail
-
getName
public org.forgerock.i18n.LocalizableMessage getName()
Returns the name of the category.- Returns:
- the name of the category.
-
setName
public void setName(org.forgerock.i18n.LocalizableMessage name)
Sets the name of the category.- Parameters:
name- the name of the category.
-
getActions
public List<Action> getActions()
Returns the actions associated with this category.- Returns:
- an unmodifiable view of the actions associated with this category.
-
addAction
public void addAction(Action action)
Adds an action to this category.- Parameters:
action- the action to add.
-
-