public class BootstrapActionConfig
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Configuration of a bootstrap action.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
name
The name of the bootstrap action.
|
private ScriptBootstrapActionConfig |
scriptBootstrapAction
The script run by the bootstrap action.
|
Constructor and Description |
---|
BootstrapActionConfig()
Default constructor for BootstrapActionConfig object.
|
BootstrapActionConfig(java.lang.String name,
ScriptBootstrapActionConfig scriptBootstrapAction)
Constructs a new BootstrapActionConfig object.
|
Modifier and Type | Method and Description |
---|---|
BootstrapActionConfig |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getName()
The name of the bootstrap action.
|
ScriptBootstrapActionConfig |
getScriptBootstrapAction()
The script run by the bootstrap action.
|
int |
hashCode() |
void |
setName(java.lang.String name)
The name of the bootstrap action.
|
void |
setScriptBootstrapAction(ScriptBootstrapActionConfig scriptBootstrapAction)
The script run by the bootstrap action.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
BootstrapActionConfig |
withName(java.lang.String name)
The name of the bootstrap action.
|
BootstrapActionConfig |
withScriptBootstrapAction(ScriptBootstrapActionConfig scriptBootstrapAction)
The script run by the bootstrap action.
|
private java.lang.String name
The name of the bootstrap action.
private ScriptBootstrapActionConfig scriptBootstrapAction
The script run by the bootstrap action.
public BootstrapActionConfig()
public BootstrapActionConfig(java.lang.String name, ScriptBootstrapActionConfig scriptBootstrapAction)
name
- The name of the bootstrap action.scriptBootstrapAction
- The script run by the bootstrap action.public void setName(java.lang.String name)
The name of the bootstrap action.
name
- The name of the bootstrap action.public java.lang.String getName()
The name of the bootstrap action.
public BootstrapActionConfig withName(java.lang.String name)
The name of the bootstrap action.
name
- The name of the bootstrap action.public void setScriptBootstrapAction(ScriptBootstrapActionConfig scriptBootstrapAction)
The script run by the bootstrap action.
scriptBootstrapAction
- The script run by the bootstrap action.public ScriptBootstrapActionConfig getScriptBootstrapAction()
The script run by the bootstrap action.
public BootstrapActionConfig withScriptBootstrapAction(ScriptBootstrapActionConfig scriptBootstrapAction)
The script run by the bootstrap action.
scriptBootstrapAction
- The script run by the bootstrap action.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public BootstrapActionConfig clone()
clone
in class java.lang.Object