public interface Result extends OsidResult
The Result
is the output of a rule execution.
Modifier and Type | Method and Description |
---|---|
boolean |
getBooleanValue()
Gets a boolean result from the rule evaluation.
|
ResultRecord |
getResultRecord(Type resultRecordType)
Gets the result record corresponding to the given
ResultRecord
record Type. |
getRecordTypes, hasRecordType
getProperties, getPropertiesByRecordType
boolean getBooleanValue()
true
or false
mandatory
- This method must be implemented. ResultRecord getResultRecord(Type resultRecordType) throws OperationFailedException
ResultRecord
record Type.
This method is used to retrieve an
object implementing the requested record. The resultRecordType
may be the Type
returned in
getRecordTypes()
or any of its parents in a Type
hierarchy where hasRecordType(resultRecordType)
is true
.resultRecordType
- the type of result record to retrieveNullArgumentException
- resultRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(resultRecordType)
is false
mandatory
- This method must be implemented.