com.dtolabs.rundeck.core.cli.project
Class RemoveAction

java.lang.Object
  extended by com.dtolabs.rundeck.core.cli.project.BaseAction
      extended by com.dtolabs.rundeck.core.cli.project.RemoveAction
All Implemented Interfaces:
Action

public class RemoveAction
extends BaseAction

archives and removes a project from the framework


Nested Class Summary
 
Nested classes/interfaces inherited from class com.dtolabs.rundeck.core.cli.project.BaseAction
BaseAction.BaseActionArgs
 
Field Summary
 
Fields inherited from class com.dtolabs.rundeck.core.cli.project.BaseAction
framework, main, project
 
Constructor Summary
RemoveAction(CLIToolLogger main, Framework framework, BaseAction.BaseActionArgs baseArgs)
          Create a new RemoveAction with argument specifiers
RemoveAction(CLIToolLogger main, Framework framework, org.apache.commons.cli.CommandLine cli)
          Create a new RemoveAction and parse the arguments from a CommandLine
 
Method Summary
 void exec()
          Execute the action.
 
Methods inherited from class com.dtolabs.rundeck.core.cli.project.BaseAction
createArgs, isVerbose, parseBaseActionArgs, setVerbose, validateInstall
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoveAction

public RemoveAction(CLIToolLogger main,
                    Framework framework,
                    org.apache.commons.cli.CommandLine cli)
Create a new RemoveAction and parse the arguments from a CommandLine

Parameters:
main -
framework -
cli -

RemoveAction

public RemoveAction(CLIToolLogger main,
                    Framework framework,
                    BaseAction.BaseActionArgs baseArgs)
Create a new RemoveAction with argument specifiers

Parameters:
main -
framework - framework object
baseArgs - base args
args - RemoveAction args
Method Detail

exec

public void exec()
          throws java.lang.Throwable
Execute the action.

Specified by:
exec in interface Action
Overrides:
exec in class BaseAction
Throws:
java.lang.Throwable