Class Facet


  • @Deprecated(since="2021-05-27")
    public class Facet
    extends Object
    Deprecated.
    Usage of this API is not supported in AEM as a Cloud Service.
    Defines a Facet for use in $facet pipeline stages.
    Since:
    3.4
    • Constructor Detail

      • Facet

        public Facet​(String name,
                     List<? extends Bson> pipeline)
        Deprecated.
        Parameters:
        name - the name of this facet
        pipeline - the facet definition pipeline
      • Facet

        public Facet​(String name,
                     Bson... pipeline)
        Deprecated.
        Parameters:
        name - the name of this facet
        pipeline - the facet definition pipeline
    • Method Detail

      • getName

        public String getName()
        Deprecated.
        Returns:
        the facet name
      • getPipeline

        public List<? extends Bson> getPipeline()
        Deprecated.
        Returns:
        the pipeline definition
      • equals

        public boolean equals​(Object o)
        Deprecated.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Deprecated.
        Overrides:
        hashCode in class Object