public class Predicates
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static HierarchyChartPredicate<ilog.views.gantt.IlvHierarchyNode> |
ACTIVITY_IS_MODIFIED_PREDICATE
This predicates return true when the activity has the uncommitted field set, OR, if the activity has modified
properties.
|
static AlwaysPredicate<ilog.views.gantt.IlvHierarchyNode> |
ALWAYS_FALSE
Returns false always (used for testing)
|
static AlwaysPredicate<ilog.views.gantt.IlvHierarchyNode> |
ALWAYS_TRUE
Returns true always (used for testing)
|
static ConstraintModifiedForActivityPredicate |
MODIFIED_CONSTRAINT_PREDICATE |
static ModifiedActivityPredicate |
MODIFIED_FIELDS_PREDICATE |
static UncommittedActivityPredicate |
UNCOMMITTED_PREDICATE |
static UseWithPredicate |
USE_WITH_CREWASSIGN |
static UseWithPredicate |
USE_WITH_GRPASSIGN |
static UseWithPredicate |
USE_WITH_SCHEDULER |
Constructor and Description |
---|
Predicates() |
Modifier and Type | Method and Description |
---|---|
static <T> HierarchyChartPredicate<T> |
and(HierarchyChartPredicate<T>... preds) |
static boolean |
evaluate(HierarchyChartPredicate<?> in)
Simple evaluator that assumes no arguments for the Predicate.
|
static <T> HierarchyChartPredicate<T> |
not(HierarchyChartPredicate<T> pred) |
static <T> HierarchyChartPredicate<T> |
or(HierarchyChartPredicate<T>... preds)
Predicate Convenient Methods
|
public static final ModifiedActivityPredicate MODIFIED_FIELDS_PREDICATE
public static final ConstraintModifiedForActivityPredicate MODIFIED_CONSTRAINT_PREDICATE
public static final UncommittedActivityPredicate UNCOMMITTED_PREDICATE
public static final HierarchyChartPredicate<ilog.views.gantt.IlvHierarchyNode> ACTIVITY_IS_MODIFIED_PREDICATE
public static final UseWithPredicate USE_WITH_SCHEDULER
public static final UseWithPredicate USE_WITH_GRPASSIGN
public static final UseWithPredicate USE_WITH_CREWASSIGN
public static final AlwaysPredicate<ilog.views.gantt.IlvHierarchyNode> ALWAYS_TRUE
public static final AlwaysPredicate<ilog.views.gantt.IlvHierarchyNode> ALWAYS_FALSE
public static <T> HierarchyChartPredicate<T> or(HierarchyChartPredicate<T>... preds)
public static <T> HierarchyChartPredicate<T> and(HierarchyChartPredicate<T>... preds)
public static <T> HierarchyChartPredicate<T> not(HierarchyChartPredicate<T> pred)
public static boolean evaluate(HierarchyChartPredicate<?> in)
in
-