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

com.adobe.cq.social.ugc.api.ConstraintVisitor Maven / Gradle / Ivy

There is a newer version: 6.5.21
Show newest version
/*************************************************************************
 *
 * ADOBE CONFIDENTIAL
 * __________________
 *
 *  Copyright 2012 Adobe Systems Incorporated
 *  All Rights Reserved.
 *
 * NOTICE:  All information contained herein is, and remains
 * the property of Adobe Systems Incorporated and its suppliers,
 * if any.  The intellectual and technical concepts contained
 * herein are proprietary to Adobe Systems Incorporated and its
 * suppliers and are protected by trade secret or copyright law.
 * Dissemination of this information or reproduction of this material
 * is strictly forbidden unless prior written permission is obtained
 * from Adobe Systems Incorporated.
 **************************************************************************/
package com.adobe.cq.social.ugc.api;

/**
 * ConstraintVisitor implementations can be used to travers a set of constraints.
 */
public interface ConstraintVisitor {

    /**
     * This method is called when the ConstraintVisitor is passed to the accept method of a PathConstraint.
     * @param pathConstraint PathConstraint being visited.
     */
    void visitPathConstraint(PathConstraint pathConstraint);

    /**
     * This method is called when the ConstraintVisitor is passed to the accept method of a ValueConstraint.
     * @param valueConstraint ValueConstraint being visited.
     */
    void visitValueConstraint(ValueConstraint valueConstraint);

    /**
     * This method is called when the ConstraintVisitor is passed to the accept method of a ConstraintGroup.
     * @param constraintGroup ConstraintGroup being visited.
     */
    void visitConstraintGroup(ConstraintGroup constraintGroup);

    /**
     * This method is called when the ConstraintVisitor is passed to the accept method of a RangeConstraint. .
     * @param rangeConstraint RangeConstraint being visited.
     */
    void visitRangeConstraint(RangeConstraint rangeConstraint);

    /**
     * This method is called when the ConstraintVisitor is passed to the accept method of a SetConstraint.
     * @param propertySetConstraint SetConstraint being visited.
     */
    void visitSetConstraint(SetConstraint propertySetConstraint);

    /**
     * This method is called when the ConstraintVisitor is passed to the accept method of a FullTextConstraint.
     * @param fullTextConstraint FullTextConstraint being visited.
     */
    void visitFullTextConstraint(FullTextConstraint fullTextConstraint);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy