@Generated(value="OracleSDKGenerator", comments="API Version: 20230831") public final class ScriptBasedExecutionDetails extends ExecutionDetails
Details for script-based execution.
Note: Objects should always be created or deserialized using the ScriptBasedExecutionDetails.Builder
. This model
distinguishes fields that are null
because they are unset from fields that are explicitly
set to null
. This is done in the setter methods of the ScriptBasedExecutionDetails.Builder
, which maintain a
set of all explicitly set fields called ScriptBasedExecutionDetails.Builder.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take the explicitly set
fields into account. The constructor, on the other hand, does not take the explicitly set fields
into account (since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
ScriptBasedExecutionDetails.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
ScriptBasedExecutionDetails(TaskVariable variables,
ContentDetails content,
String command,
List<ConfigAssociationDetails> credentials)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static ScriptBasedExecutionDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getCommand()
Optional command to execute the content.
|
ContentDetails |
getContent() |
List<ConfigAssociationDetails> |
getCredentials()
Credentials required for executing the task.
|
TaskVariable |
getVariables() |
int |
hashCode() |
ScriptBasedExecutionDetails.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public ScriptBasedExecutionDetails(TaskVariable variables, ContentDetails content, String command, List<ConfigAssociationDetails> credentials)
public static ScriptBasedExecutionDetails.Builder builder()
Create a new builder.
public ScriptBasedExecutionDetails.Builder toBuilder()
public TaskVariable getVariables()
public ContentDetails getContent()
public String getCommand()
Optional command to execute the content. You can provide any commands/arguments that can’t be part of the script.
public List<ConfigAssociationDetails> getCredentials()
Credentials required for executing the task.
public String toString()
toString
in class ExecutionDetails
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class ExecutionDetails
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class ExecutionDetails
public int hashCode()
hashCode
in class ExecutionDetails
Copyright © 2016–2024. All rights reserved.