Package liquibase.command
Class CommandResults
- java.lang.Object
-
- liquibase.command.CommandResults
-
public class CommandResults extends Object
The results ofCommandScope.execute().
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedCommandResults(SortedMap<String,Object> resultValues, CommandScope commandScope)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CommandScopegetCommandScope()TheCommandScopethat was executed to produce this result.ObjectgetResult(String key)Return the result value for the given key.<DataType> DataTypegetResult(CommandResultDefinition<DataType> definition)Return the value for the givenCommandResultDefinition, or the default value if not set.SortedMap<String,Object>getResults()Returns all the results for this command.
-
-
-
Constructor Detail
-
CommandResults
protected CommandResults(SortedMap<String,Object> resultValues, CommandScope commandScope)
-
-
Method Detail
-
getCommandScope
public CommandScope getCommandScope()
TheCommandScopethat was executed to produce this result.
-
getResult
public <DataType> DataType getResult(CommandResultDefinition<DataType> definition)
Return the value for the givenCommandResultDefinition, or the default value if not set.
-
-