public class CommandResults extends Object
CommandScope.execute().| Modifier | Constructor and Description |
|---|---|
protected |
CommandResults(SortedMap<String,Object> resultValues,
CommandScope commandScope) |
| Modifier and Type | Method and Description |
|---|---|
CommandScope |
getCommandScope()
The
CommandScope that was executed to produce this result. |
<DataType> DataType |
getResult(CommandResultDefinition<DataType> definition)
Return the value for the given
CommandResultDefinition, or the default value if not set. |
Object |
getResult(String key)
Return the result value for the given key.
|
SortedMap<String,Object> |
getResults()
Returns all the results for this command.
|
protected CommandResults(SortedMap<String,Object> resultValues, CommandScope commandScope)
public CommandScope getCommandScope()
CommandScope that was executed to produce this result.public <DataType> DataType getResult(CommandResultDefinition<DataType> definition)
CommandResultDefinition, or the default value if not set.Copyright © 2022 Liquibase.org. All rights reserved.