All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.drools.lang.api.CEDescrBuilder Maven / Gradle / Ivy

/*
 * Copyright 2011 JBoss Inc
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package org.drools.lang.api;

import org.drools.lang.descr.AndDescr;
import org.drools.lang.descr.BaseDescr;
import org.drools.lang.descr.ExistsDescr;
import org.drools.lang.descr.NotDescr;
import org.drools.lang.descr.OrDescr;

/**
 *  A descriptor builder for Conditional Elements
 */
public interface CEDescrBuilder

, T extends BaseDescr> extends PatternContainerDescrBuilder, T>, DescrBuilder< P, T > { /** * Creates a set of AND'ed Conditional Elements * * @return a descriptor builder for the AND'ed set of CEs */ public CEDescrBuilder, AndDescr> and(); /** * Creates a set of OR'ed Conditional Elements * * @return a descriptor builder for the OR'ed set of CEs */ public CEDescrBuilder, OrDescr> or(); /** * Creates a set of NOT'ed Conditional Elements * * @return a descriptor builder for the NOT'ed set of CEs */ public CEDescrBuilder, NotDescr> not(); /** * Creates a set of EXIST'ed Conditional Elements * * @return a descriptor builder for the EXIST'ed set of CEs */ public CEDescrBuilder, ExistsDescr> exists(); /** * Defines a FORALL Conditional Element * * @return a descriptor builder for the FORALL CE */ public ForallDescrBuilder> forall(); /** * Defines a top level ACCUMULATE CE * * @return the accumulate descriptor builder */ public AccumulateDescrBuilder> accumulate(); /** * Defines an EVAL Conditional Elements * * @return a descriptor builder for the EVAL CE */ public EvalDescrBuilder> eval(); }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy