public class Predicate
extends java.lang.Object
Constructor and Description |
---|
Predicate() |
Predicate(java.lang.String predicate) |
Modifier and Type | Method and Description |
---|---|
java.util.List<ResourceEvent> |
applyDateFilter(java.util.List<ResourceEvent> events) |
boolean |
average() |
boolean |
evaluate(double lhs) |
java.util.Set<java.lang.String> |
getCaseList() |
long |
getFromDate() |
java.util.Set<java.lang.String> |
getNamedRange(java.util.List<java.lang.String> allCaseIDs) |
java.util.Set<java.lang.String> |
getResourceList() |
java.util.Set<java.lang.String> |
getTaskList() |
long |
getToDate() |
double |
getValue() |
boolean |
hasCaseFilter() |
boolean |
hasDateFilter() |
boolean |
hasDOWFilter() |
boolean |
hasFromDate() |
boolean |
hasNamedRange() |
boolean |
hasToDate() |
boolean |
isAllCases() |
boolean |
isAllResources() |
boolean |
isAllTasks() |
boolean |
isCurrentCaseOnly() |
boolean |
isSimpleExpression() |
boolean |
isWholeCase() |
boolean |
max() |
boolean |
min() |
void |
parse(java.lang.String predicate) |
void |
setCaseList(java.util.Set<java.lang.String> caseList) |
void |
setResourceList(java.util.Set<java.lang.String> list) |
void |
setTaskList(java.util.Set<java.lang.String> list) |
void |
setValue(double value) |
public Predicate()
public Predicate(java.lang.String predicate) throws CostPredicateParseException
CostPredicateParseException
public void parse(java.lang.String predicate) throws CostPredicateParseException
CostPredicateParseException
public java.util.Set<java.lang.String> getTaskList()
public void setTaskList(java.util.Set<java.lang.String> list)
public java.util.Set<java.lang.String> getResourceList()
public void setResourceList(java.util.Set<java.lang.String> list)
public java.util.Set<java.lang.String> getCaseList()
public void setCaseList(java.util.Set<java.lang.String> caseList)
public boolean hasCaseFilter()
public boolean hasNamedRange()
public java.util.Set<java.lang.String> getNamedRange(java.util.List<java.lang.String> allCaseIDs)
public java.util.List<ResourceEvent> applyDateFilter(java.util.List<ResourceEvent> events)
public boolean isAllTasks()
public boolean isAllResources()
public boolean isAllCases()
public boolean isWholeCase()
public boolean isCurrentCaseOnly()
public boolean isSimpleExpression()
public boolean average()
public boolean max()
public boolean min()
public boolean hasFromDate()
public boolean hasToDate()
public boolean hasDOWFilter()
public boolean hasDateFilter()
public long getFromDate()
public long getToDate()
public double getValue()
public void setValue(double value)
public boolean evaluate(double lhs)
Copyright © 2004-2014 The YAWL Foundation.