com.dtolabs.rundeck.core.cli.project
Class RemoveAction
java.lang.Object
com.dtolabs.rundeck.core.cli.project.BaseAction
com.dtolabs.rundeck.core.cli.project.RemoveAction
- All Implemented Interfaces:
- Action
public class RemoveAction
- extends BaseAction
archives and removes a project from the framework
Method Summary |
void |
exec()
Execute the action. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 objectbaseArgs
- base argsargs
- RemoveAction args
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