public static final class DefaultCommandSpec.Builder
extends java.lang.Object
DefaultCommandSpec builder.| Modifier and Type | Method and Description |
|---|---|
DefaultCommandSpec |
build()
Returns a
DefaultCommandSpec built from the parameters previously set. |
DefaultCommandSpec.Builder |
environment(java.util.Map<java.lang.String,java.lang.String> environment)
Sets the
environment and returns a reference to this Builder so that the methods can be chained
together. |
DefaultCommandSpec.Builder |
value(java.lang.String value)
Sets the
value and returns a reference to this Builder so that the methods can be chained together. |
public DefaultCommandSpec.Builder value(java.lang.String value)
value and returns a reference to this Builder so that the methods can be chained together.value - the value to setpublic DefaultCommandSpec.Builder environment(java.util.Map<java.lang.String,java.lang.String> environment)
environment and returns a reference to this Builder so that the methods can be chained
together.environment - the environment to setpublic DefaultCommandSpec build()
DefaultCommandSpec built from the parameters previously set.DefaultCommandSpec built with parameters of this DefaultCommandSpec.Builder