Example usage for org.apache.commons.collections.functors OrPredicate OrPredicate

List of usage examples for org.apache.commons.collections.functors OrPredicate OrPredicate

Introduction

In this page you can find the example usage for org.apache.commons.collections.functors OrPredicate OrPredicate.

Prototype

public OrPredicate(Predicate predicate1, Predicate predicate2) 

Source Link

Document

Constructor that performs no validation.

Usage

From source file:com.cognifide.cq.cqsm.core.scripts.ScriptFilters.java

public static Predicate filterOnStart(final ResourceResolver resolver) {
    return new AllPredicate(new Predicate[] { filterExecutionEnabled(true),
            new OrPredicate(filterByExecutionMode(ExecutionMode.ON_START), filterOnModify(resolver)) });
}