public final class GlobalExecutionArguments extends Object
Modifier and Type | Class and Description |
---|---|
class |
GlobalExecutionArguments.Builder
Builder for create instance of GlobalExecutionArguments.
|
Modifier and Type | Method and Description |
---|---|
<T> Optional<T> |
getArgument(String argumentName)
Get execution argument by its name.
|
<T> T |
getArgument(String argumentName,
T defaultValue)
Get execution argument by its name.
|
static GlobalExecutionArguments.Builder |
getNewInstance()
Create new instance of GlobalExecutionArguments.
|
boolean |
hasArgument(String argumentName)
Return true if execution arguments have an argument with given name.
|
<T> void |
putArgument(String argumentName,
T value)
Put an execution argument.
|
public <T> Optional<T> getArgument(String argumentName)
T
- argument's typeargumentName
- the name of argumentpublic <T> T getArgument(String argumentName, T defaultValue)
T
- argument's typeargumentName
- the name of argumentpublic boolean hasArgument(String argumentName)
argumentName
- the name of argumentpublic <T> void putArgument(String argumentName, T value)
T
- argument's typeargumentName
- the name of argumentvalue
- the argument valuepublic static GlobalExecutionArguments.Builder getNewInstance()
Copyright (c) 2014-2021 All Rights Reserved by the RWS Group for and on behalf of its affiliates and subsidiaries