public final class SelectionCriteria extends Object
Agenda
to execute.Modifier and Type | Method and Description |
---|---|
static SelectionCriteria |
createCriteria(org.joda.time.DateTime effectiveExecutionTime,
Map<String,String> contextQualifiers,
Map<String,String> agendaQualifiers)
This static factory method creates a SelectionCriteria used to select an Agenda to execute.
|
Map<String,String> |
getAgendaQualifiers() |
Map<String,String> |
getContextQualifiers() |
Long |
getEffectiveExecutionTime()
This method gets the effective date/time in epoch time, suitable for
converting to a
Date via Date.Date(long) |
public static SelectionCriteria createCriteria(org.joda.time.DateTime effectiveExecutionTime, Map<String,String> contextQualifiers, Map<String,String> agendaQualifiers)
effectiveExecutionTime
- the time that the rule is being executed at. If null, the time of engine execution will be used.contextQualifiers
- qualifiers used to select the contextagendaQualifiers
- qualifiers used to select the agenda from the contextSelectionCriteria
public Long getEffectiveExecutionTime()
Date
via Date.Date(long)
Engine
but implies that the actual time when execution begins will be used).public Map<String,String> getContextQualifiers()
public Map<String,String> getAgendaQualifiers()
Copyright © 2005-2015 The Kuali Foundation. All Rights Reserved.