Package org.camunda.bpm.dmn.engine.impl
Class DmnDecisionTableResultImpl
java.lang.Object
org.camunda.bpm.dmn.engine.impl.DmnDecisionTableResultImpl
- All Implemented Interfaces:
- Serializable,- Iterable<DmnDecisionRuleResult>,- Collection<DmnDecisionRuleResult>,- List<DmnDecisionRuleResult>,- DmnDecisionTableResult
- See Also:
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final DmnEngineLoggerprotected final List<DmnDecisionRuleResult>
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidadd(int index, DmnDecisionRuleResult element) booleanbooleanaddAll(int index, Collection<? extends DmnDecisionRuleResult> c) booleanaddAll(Collection<? extends DmnDecisionRuleResult> c) protected List<DmnDecisionRuleResult>voidclear()<T> List<T>collectEntries(String outputName) Collects the entries for a output name.booleanbooleancontainsAll(Collection<?> c) get(int index) Returns the firstDmnDecisionRuleResult.Returns the entries of all decision rule results.<T> TReturns the value of the single entry of the decision rule result.<T extends TypedValue>
 TReturns the typed value of the single entry of the decision rule result.Returns the singleDmnDecisionRuleResultof the result.intbooleanisEmpty()iterator()intlistIterator(int index) remove(int index) booleanbooleanremoveAll(Collection<?> c) booleanretainAll(Collection<?> c) set(int index, DmnDecisionRuleResult element) intsize()subList(int fromIndex, int toIndex) Object[]toArray()<T> T[]toArray(T[] a) toString()static DmnDecisionTableResultImplwrap(DmnDecisionResult decisionResult) Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.CollectionparallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.Listequals, hashCode, replaceAll, sort, spliterator
- 
Field Details- 
LOG
- 
ruleResults
 
- 
- 
Constructor Details- 
DmnDecisionTableResultImpl
 
- 
- 
Method Details- 
getFirstResultDescription copied from interface:DmnDecisionTableResultReturns the firstDmnDecisionRuleResult.- Specified by:
- getFirstResultin interface- DmnDecisionTableResult
- Returns:
- the first decision rule result or null if none exits
 
- 
getSingleResultDescription copied from interface:DmnDecisionTableResultReturns the singleDmnDecisionRuleResultof the result. Which asserts that only one decision rule result exist.- Specified by:
- getSingleResultin interface- DmnDecisionTableResult
- Returns:
- the single decision rule result or null if none exists
 
- 
collectEntriesDescription copied from interface:DmnDecisionTableResultCollects the entries for a output name. The list will contain entries for the output name of everyDmnDecisionRuleResult. Note that the list may contains less entries than decision rule results if an output does not contain a value for the output name.- Specified by:
- collectEntriesin interface- DmnDecisionTableResult
- Type Parameters:
- T- the type of the rule result entry
- Parameters:
- outputName- the name of the output to collect
- Returns:
- the list of collected output values
 
- 
getResultListDescription copied from interface:DmnDecisionTableResultReturns the entries of all decision rule results. For every decision rule result a map of the output names and corresponding entries is returned.- Specified by:
- getResultListin interface- DmnDecisionTableResult
- Returns:
- the list of all entry maps
- See Also:
 
- 
getSingleEntrypublic <T> T getSingleEntry()Description copied from interface:DmnDecisionTableResultReturns the value of the single entry of the decision rule result. Asserts that only one decision rule result with a single entry exist.- Specified by:
- getSingleEntryin interface- DmnDecisionTableResult
- Type Parameters:
- T- the type of the result entry
- Returns:
- the value of the single result entry or null if none exists
- See Also:
 
- 
getSingleEntryTypedDescription copied from interface:DmnDecisionTableResultReturns the typed value of the single entry of the decision rule result. Asserts that only one decision rule result with a single entry exist.- Specified by:
- getSingleEntryTypedin interface- DmnDecisionTableResult
- Type Parameters:
- T- the type of the result entry
- Returns:
- the typed value of the single result entry or null if none exists
- See Also:
 
- 
iterator- Specified by:
- iteratorin interface- Collection<DmnDecisionRuleResult>
- Specified by:
- iteratorin interface- Iterable<DmnDecisionRuleResult>
- Specified by:
- iteratorin interface- List<DmnDecisionRuleResult>
 
- 
sizepublic int size()- Specified by:
- sizein interface- Collection<DmnDecisionRuleResult>
- Specified by:
- sizein interface- List<DmnDecisionRuleResult>
 
- 
isEmptypublic boolean isEmpty()- Specified by:
- isEmptyin interface- Collection<DmnDecisionRuleResult>
- Specified by:
- isEmptyin interface- List<DmnDecisionRuleResult>
 
- 
get- Specified by:
- getin interface- List<DmnDecisionRuleResult>
 
- 
contains- Specified by:
- containsin interface- Collection<DmnDecisionRuleResult>
- Specified by:
- containsin interface- List<DmnDecisionRuleResult>
 
- 
toArray- Specified by:
- toArrayin interface- Collection<DmnDecisionRuleResult>
- Specified by:
- toArrayin interface- List<DmnDecisionRuleResult>
 
- 
toArraypublic <T> T[] toArray(T[] a) - Specified by:
- toArrayin interface- Collection<DmnDecisionRuleResult>
- Specified by:
- toArrayin interface- List<DmnDecisionRuleResult>
 
- 
add- Specified by:
- addin interface- Collection<DmnDecisionRuleResult>
- Specified by:
- addin interface- List<DmnDecisionRuleResult>
 
- 
remove- Specified by:
- removein interface- Collection<DmnDecisionRuleResult>
- Specified by:
- removein interface- List<DmnDecisionRuleResult>
 
- 
containsAll- Specified by:
- containsAllin interface- Collection<DmnDecisionRuleResult>
- Specified by:
- containsAllin interface- List<DmnDecisionRuleResult>
 
- 
addAll- Specified by:
- addAllin interface- Collection<DmnDecisionRuleResult>
- Specified by:
- addAllin interface- List<DmnDecisionRuleResult>
 
- 
addAll- Specified by:
- addAllin interface- List<DmnDecisionRuleResult>
 
- 
removeAll- Specified by:
- removeAllin interface- Collection<DmnDecisionRuleResult>
- Specified by:
- removeAllin interface- List<DmnDecisionRuleResult>
 
- 
retainAll- Specified by:
- retainAllin interface- Collection<DmnDecisionRuleResult>
- Specified by:
- retainAllin interface- List<DmnDecisionRuleResult>
 
- 
clearpublic void clear()- Specified by:
- clearin interface- Collection<DmnDecisionRuleResult>
- Specified by:
- clearin interface- List<DmnDecisionRuleResult>
 
- 
set- Specified by:
- setin interface- List<DmnDecisionRuleResult>
 
- 
add- Specified by:
- addin interface- List<DmnDecisionRuleResult>
 
- 
remove- Specified by:
- removein interface- List<DmnDecisionRuleResult>
 
- 
indexOf- Specified by:
- indexOfin interface- List<DmnDecisionRuleResult>
 
- 
lastIndexOf- Specified by:
- lastIndexOfin interface- List<DmnDecisionRuleResult>
 
- 
listIterator- Specified by:
- listIteratorin interface- List<DmnDecisionRuleResult>
 
- 
listIterator- Specified by:
- listIteratorin interface- List<DmnDecisionRuleResult>
 
- 
subList- Specified by:
- subListin interface- List<DmnDecisionRuleResult>
 
- 
toString
- 
asUnmodifiableList
- 
wrap
 
-