public interface StatelessSessionResult
Modifier and Type | Method and Description |
---|---|
Object |
getGlobal(String identifier)
Retrieves the global value for the given identifier, note that globals must be exported from the StatelessSession to be accessible.
|
GlobalResolver |
getGlobalResolver()
The GlobalResolver returned from the GlobalExporter by the StatelessSessoin
|
QueryResults |
getQueryResults(String query)
Retrieve the QueryResults of the specified query.
|
QueryResults |
getQueryResults(String query,
Object[] arguments)
Allows for parameters to be passed to a query.
|
Iterator |
iterateObjects()
Iterator all Objects inserted into the StatelessSession.
|
Iterator |
iterateObjects(org.kie.api.runtime.ObjectFilter filter)
Iterate only those objects that match the provided ObjectFilter.
|
Iterator iterateObjects()
Iterator iterateObjects(org.kie.api.runtime.ObjectFilter filter)
filter
- The ObjectFilter instance.QueryResults getQueryResults(String query)
query
- The name of the query.IllegalArgumentException.
- if no query named "query" is found in the rulebase.QueryResults getQueryResults(String query, Object[] arguments)
query
- The name of the query.arguments
- The Object[] of arguments to pass to the query's parameters.Object getGlobal(String identifier)
identifier
- The global identifier.GlobalResolver getGlobalResolver()
Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.