com.gridsystems.config.modules.tomcat
Class ConnectorGroupField

java.lang.Object
  extended by com.gridsystems.config.tools.console.Field
      extended by com.gridsystems.config.tools.console.GroupField
          extended by com.gridsystems.config.modules.tomcat.ConnectorGroupField
All Implemented Interfaces:
ConsoleViewAction

public class ConnectorGroupField
extends GroupField
implements ConsoleViewAction

Type description.

Version:
1.0
Author:
Rodrigo Ruiz Aguayo

Field Summary
 
Fields inherited from class com.gridsystems.config.tools.console.GroupField
fields, title
 
Fields inherited from class com.gridsystems.config.tools.console.Field
bundle
 
Constructor Summary
ConnectorGroupField(java.util.ResourceBundle bundle)
          Creates a new instance.
 
Method Summary
 boolean execute(ConsoleConfiguratorView view)
          Performs a task related to the specified view.
 java.util.List<ConsoleViewAction> getActionList()
          Adds itself to the list returned by the superclass.
 Connector[] getConnectors()
          Gets the list of connectors in this group.
 java.lang.String getKeyMapping()
          Gets the key mapping of this action.
 
Methods inherited from class com.gridsystems.config.tools.console.GroupField
addField, clearFields, getActions, getContents, getFields, removeField
 
Methods inherited from class com.gridsystems.config.tools.console.Field
getString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectorGroupField

public ConnectorGroupField(java.util.ResourceBundle bundle)
Creates a new instance.

Parameters:
bundle - for i18n
Method Detail

getActionList

public java.util.List<ConsoleViewAction> getActionList()
Adds itself to the list returned by the superclass. Gets the list of actions in this group.

Overrides:
getActionList in class GroupField
Returns:
the list of actions in this group

getConnectors

public Connector[] getConnectors()
Gets the list of connectors in this group.

Returns:
an array containing all connectors in this group

getKeyMapping

public java.lang.String getKeyMapping()
Gets the key mapping of this action.

Specified by:
getKeyMapping in interface ConsoleViewAction
Returns:
The key mapping of this action

execute

public boolean execute(ConsoleConfiguratorView view)
Performs a task related to the specified view.

Specified by:
execute in interface ConsoleViewAction
Parameters:
view - The view invoking the execution
Returns:
false if the view must exit from its execution loop; true otherwise


Copyright © 2007-2008 Grid Systems, S.A.. All Rights Reserved.