Class TypesCollectionView

java.lang.Object
org.apache.sling.hapi.sightly.TypesCollectionView
All Implemented Interfaces:
Use

@ProviderType public class TypesCollectionView extends Object implements Use
  • Constructor Details

    • TypesCollectionView

      public TypesCollectionView()
  • Method Details

    • init

      public void init(Bindings bindings)
      Description copied from interface: Use

      Called to initialize the Java object with the current Java Scripting API bindings.

      This method is called only if the object has been instantiated by HTL as part of processing the data-sly-use attribute. The Java Scripting API bindings provide all the global variables known to a script being executed.

      Specified by:
      init in interface Use
      Parameters:
      bindings - The Java Scripting API bindings.
    • activate

      public void activate() throws Exception
      Throws:
      Exception
    • getTitle

      public String getTitle()
    • getDescription

      public String getDescription()
    • getTypes

      public Collection<HApiType> getTypes()
    • getHasTypes

      public boolean getHasTypes()