public interface ContextDefinitionContract extends Versioned, Identifiable, Inactivatable
A context is a set of related krms entities. A context definition defines information about a context which can be loaded into the rules engine for evaluation. A context definition includes a list of agendas which are valid within the context. Typically, during rule engine execution, one or more of these agendas is selected for execution based on a given set of selection criteria. All KRMS components (agendas, rules, actions, terms, etc.) must be of the same context to work together. It is up to the client implementor to choose how broadly or finely grained the scope of the context is to be.
Modifier and Type | Method and Description |
---|---|
List<? extends AgendaDefinitionContract> |
getAgendas()
Returns the list of agendas
AgendaDefinitionContract contained in the context definition. |
Map<String,String> |
getAttributes()
Returns a map of name/value pairs representing the
attributes associated with this context.
|
String |
getDescription()
Returns the description of the context definition.
|
String |
getName()
Returns the name of the context definition.
|
String |
getNamespace()
Returns the namespace of the context definition.
|
String |
getTypeId()
Returns the type id for the context definition.
|
getVersionNumber
getId
isActive
String getNamespace()
String getName()
String getTypeId()
String getDescription()
List<? extends AgendaDefinitionContract> getAgendas()
AgendaDefinitionContract
contained in the context definition.
This method should never return null. An empty list is returned
if no agendas are associated with this context.Map<String,String> getAttributes()
This method should never return null. An empty map is returned if no attributes are associated with the context.
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.