Class StackExtension
java.lang.Object
org.apache.tapestry5.services.javascript.StackExtension
A contribution to an extensible
JavaScriptStack
. Such a stack is created in terms of all the contributions.- Since:
- 5.3
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal StackExtensionType
The type of extension.final String
The value contributed; will have symbols expanded, then be converted to the appropriate type. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StackExtension
Convenience for defining theJavaScriptStack.getJavaScriptAggregationStrategy()
.static StackExtension
Convenience for defining a LIBRARY.static StackExtension
Convenience for defining a MODULE.static StackExtension
Convenience for defining a STACK.static StackExtension
stylesheet
(String path) Convenience for defining a STYLESHEET.toString()
-
Field Details
-
type
The type of extension. -
value
The value contributed; will have symbols expanded, then be converted to the appropriate type.
-
-
Constructor Details
-
StackExtension
-
-
Method Details
-
toString
-
library
Convenience for defining a LIBRARY.- Since:
- 5.4
-
module
Convenience for defining a MODULE.- Since:
- 5.4
-
stylesheet
Convenience for defining a STYLESHEET.- Since:
- 5.4
-
stack
Convenience for defining a STACK.- Since:
- 5.4
-
javascriptAggregation
Convenience for defining theJavaScriptStack.getJavaScriptAggregationStrategy()
.- Since:
- 5.4
-