public class ScriptBootstrapActionConfig extends Object implements Serializable, Cloneable
Constructor and Description |
---|
ScriptBootstrapActionConfig()
Default constructor for ScriptBootstrapActionConfig object.
|
ScriptBootstrapActionConfig(String path,
List<String> args)
Constructs a new ScriptBootstrapActionConfig object.
|
Modifier and Type | Method and Description |
---|---|
ScriptBootstrapActionConfig |
clone() |
boolean |
equals(Object obj) |
List<String> |
getArgs() |
String |
getPath() |
int |
hashCode() |
void |
setArgs(Collection<String> args) |
void |
setPath(String path) |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ScriptBootstrapActionConfig |
withArgs(Collection<String> args) |
ScriptBootstrapActionConfig |
withArgs(String... args)
NOTE: This method appends the values to the existing list (if any).
|
ScriptBootstrapActionConfig |
withPath(String path) |
public ScriptBootstrapActionConfig()
public void setPath(String path)
path
- public String getPath()
public ScriptBootstrapActionConfig withPath(String path)
path
- public void setArgs(Collection<String> args)
args
- public ScriptBootstrapActionConfig withArgs(String... args)
NOTE: This method appends the values to the existing list (if any). Use
setArgs(java.util.Collection)
or withArgs(java.util.Collection)
if you want to override the
existing values.
args
- public ScriptBootstrapActionConfig withArgs(Collection<String> args)
args
- public String toString()
toString
in class Object
Object.toString()
public ScriptBootstrapActionConfig clone()
Copyright © 2016. All rights reserved.