public class BootstrapActionConfig extends Object implements Serializable
Configuration of a bootstrap action.
Constructor and Description |
---|
BootstrapActionConfig()
Default constructor for a new BootstrapActionConfig object.
|
BootstrapActionConfig(String name,
ScriptBootstrapActionConfig scriptBootstrapAction)
Constructs a new BootstrapActionConfig object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getName()
The name of the bootstrap action.
|
ScriptBootstrapActionConfig |
getScriptBootstrapAction()
The script run by the bootstrap action.
|
int |
hashCode() |
void |
setName(String name)
The name of the bootstrap action.
|
void |
setScriptBootstrapAction(ScriptBootstrapActionConfig scriptBootstrapAction)
The script run by the bootstrap action.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
BootstrapActionConfig |
withName(String name)
The name of the bootstrap action.
|
BootstrapActionConfig |
withScriptBootstrapAction(ScriptBootstrapActionConfig scriptBootstrapAction)
The script run by the bootstrap action.
|
public BootstrapActionConfig()
public BootstrapActionConfig(String name, ScriptBootstrapActionConfig scriptBootstrapAction)
name
- The name of the bootstrap action.scriptBootstrapAction
- The script run by the bootstrap action.public String getName()
Constraints:
Length: 0 - 256
Pattern: [ --�𐀀-\r\n\t]*
public void setName(String name)
Constraints:
Length: 0 - 256
Pattern: [ --�𐀀-\r\n\t]*
name
- The name of the bootstrap action.public BootstrapActionConfig withName(String name)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 256
Pattern: [ --�𐀀-\r\n\t]*
name
- The name of the bootstrap action.public ScriptBootstrapActionConfig getScriptBootstrapAction()
public void setScriptBootstrapAction(ScriptBootstrapActionConfig scriptBootstrapAction)
scriptBootstrapAction
- The script run by the bootstrap action.public BootstrapActionConfig withScriptBootstrapAction(ScriptBootstrapActionConfig scriptBootstrapAction)
Returns a reference to this object so that method calls can be chained together.
scriptBootstrapAction
- The script run by the bootstrap action.public String toString()
toString
in class Object
Object.toString()
Copyright © 2016. All rights reserved.