class DefaultMultiStepCommand extends MultiStepCommand
Simple implementation of the MultiStepCommand abstract class that parses commands defined in YAML or JSON
Modifiers | Name | Description |
---|---|---|
private java.util.Map<java.lang.String, java.lang.Object> |
data |
|
private CommandDescription |
description |
|
private java.util.List<AbstractStep> |
steps |
Fields inherited from class | Fields |
---|---|
class MultiStepCommand |
minArguments, name, profile |
Type | Name and description |
---|---|
CommandDescription |
description |
Constructor and description |
---|
DefaultMultiStepCommand
(java.lang.String name, Profile profile, java.util.Map<java.lang.String, java.lang.Object> data) |
Type Params | Return Type | Name and description |
---|---|---|
|
protected AbstractStep |
createStep(java.util.Map stepParameters) |
|
java.util.List<Step> |
getSteps() |
|
boolean |
handleArgumentOrFlag(java.util.Map map, java.lang.String name) |
Methods inherited from class | Name |
---|---|
class MultiStepCommand |
getSteps, handle |
Groovy Documentation