public final class ScriptAction extends Object
| Constructor and Description |
|---|
ScriptAction() |
| Modifier and Type | Method and Description |
|---|---|
String |
name()
Get the name property: The user provided name of the script action.
|
String |
parameters()
Get the parameters property: The parameters for the script action.
|
Object |
roles()
Get the roles property: The node types on which the script action should be executed.
|
String |
uri()
Get the uri property: The URI for the script action.
|
void |
validate()
Validates the instance.
|
ScriptAction |
withName(String name)
Set the name property: The user provided name of the script action.
|
ScriptAction |
withParameters(String parameters)
Set the parameters property: The parameters for the script action.
|
ScriptAction |
withRoles(Object roles)
Set the roles property: The node types on which the script action should be executed.
|
ScriptAction |
withUri(String uri)
Set the uri property: The URI for the script action.
|
public String name()
public ScriptAction withName(String name)
name - the name value to set.public String uri()
public ScriptAction withUri(String uri)
uri - the uri value to set.public Object roles()
public ScriptAction withRoles(Object roles)
roles - the roles value to set.public String parameters()
public ScriptAction withParameters(String parameters)
parameters - the parameters value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.