nl.toolforge.karma.core.cmd.impl
Class ViewManifest
java.lang.Object
nl.toolforge.karma.core.cmd.DefaultCommand
nl.toolforge.karma.core.cmd.impl.ViewManifest
- All Implemented Interfaces:
- Command
- public class ViewManifest
- extends DefaultCommand
This command gets the active manifest and presents it in the UI. UI implementations are responsible for the rendering
part.
Field Summary |
protected org.apache.commons.logging.Log |
logger
|
Method Summary |
void |
execute()
Executes the command. |
CommandResponse |
getCommandResponse()
Gets the commands' response object. |
protected java.util.List |
getData()
Returns the contents of the manifest in a two-dimensional String[] data-structure, for easy
reference. |
Methods inherited from class nl.toolforge.karma.core.cmd.DefaultCommand |
cleanUp, deregisterCommandResponseListener, getAlias, getCommandLine, getContext, getDescription, getFrontendMessages, getHelp, getName, getResponseListener, getWorkingContext, registerCommandResponseListener, setCommandLine, setContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected org.apache.commons.logging.Log logger
ViewManifest
public ViewManifest(CommandDescriptor descriptor)
execute
public void execute()
throws CommandException
- Description copied from interface:
Command
- Executes the command.
- Throws:
CommandException
- When execution failed. This exception catches all underlying exceptions and rethrows them
as a CommandException, except for RuntimeException
s.
getCommandResponse
public CommandResponse getCommandResponse()
- Gets the commands' response object.
- Returns:
- The commands' response object.
getData
protected java.util.List getData()
Returns the contents of the manifest in a two-dimensional String[]
data-structure, for easy
reference. The contents of this structure can be queried through renderedList.get(i)
. This call
retrieves a String[]
with the most important data items for each module.
- Returns:
- A
List
containing String[]
instances.
Copyright © 2002-2004 Toolforge. All Rights Reserved.