Package org.apache.sling.hapi.sightly
Class TypesCollectionView
- java.lang.Object
-
- org.apache.sling.hapi.sightly.TypesCollectionView
-
- All Implemented Interfaces:
Use
@ProviderType public class TypesCollectionView extends Object implements Use
-
-
Constructor Summary
Constructors Constructor Description TypesCollectionView()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
activate()
String
getDescription()
boolean
getHasTypes()
String
getTitle()
Collection<HApiType>
getTypes()
void
init(Bindings bindings)
Called to initialize the Java object with the current Java Scripting API bindings.
-
-
-
Method Detail
-
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.
-
getTitle
public String getTitle()
-
getDescription
public String getDescription()
-
getTypes
public Collection<HApiType> getTypes()
-
getHasTypes
public boolean getHasTypes()
-
-