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

com.enonic.xp.query.expr.DslExpr Maven / Gradle / Ivy

The newest version!
package com.enonic.xp.query.expr;

import com.enonic.xp.annotation.PublicApi;
import com.enonic.xp.data.PropertyTree;

@PublicApi
public final class DslExpr
    implements ConstraintExpr
{
    private final PropertyTree expression;

    private DslExpr( final PropertyTree expression )
    {
        this.expression = expression;
    }

    public static DslExpr from( final PropertyTree expression )
    {
        return new DslExpr( expression );
    }

    public PropertyTree getExpression()
    {
        return expression;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy