Class TypesCollectionView

  • All Implemented Interfaces:
    Use

    @ProviderType
    public class TypesCollectionView
    extends java.lang.Object
    implements Use
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void activate()  
      java.lang.String getDescription()  
      boolean getHasTypes()  
      java.lang.String getTitle()  
      java.util.Collection<HApiType> getTypes()  
      void init​(javax.script.Bindings bindings)
      Called to initialize the Java object with the current Java Scripting API bindings.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TypesCollectionView

        public TypesCollectionView()
    • Method Detail

      • init

        public void init​(javax.script.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 java.lang.Exception
        Throws:
        java.lang.Exception
      • getTitle

        public java.lang.String getTitle()
      • getDescription

        public java.lang.String getDescription()
      • getTypes

        public java.util.Collection<HApiType> getTypes()
      • getHasTypes

        public boolean getHasTypes()