Class StackExtension
-
- org.apache.tapestry5.services.javascript.StackExtension
-
public class StackExtension extends
A contribution to an extensibleJavaScriptStack
. Such a stack is created in terms of all the contributions.- Since:
- 5.3
- See Also:
ExtensibleJavaScriptStack
-
-
Field Summary
Fields Modifier and Type Field Description StackExtensionType
type
The type of extension.value
The value contributed; will have symbols expanded, then be converted to the appropriate type.
-
Constructor Summary
Constructors Constructor Description StackExtension(StackExtensionType type, value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StackExtension
javascriptAggregation(JavaScriptAggregationStrategy strategy)
Convenience for defining theJavaScriptStack.getJavaScriptAggregationStrategy()
.static StackExtension
path)
Convenience for defining a LIBRARY.static StackExtension
name)
Convenience for defining a MODULE.static StackExtension
name)
Convenience for defining a STACK.static StackExtension
path)
Convenience for defining a STYLESHEET.toString()
-
-
-
Field Detail
-
type
public final StackExtensionType type
The type of extension.
-
value
public final value
The value contributed; will have symbols expanded, then be converted to the appropriate type.
-
-
Constructor Detail
-
StackExtension
public StackExtension(StackExtensionType type, value)
-
-
Method Detail
-
toString
public toString()
- Overrides:
in class
-
library
public static path)
Convenience for defining a LIBRARY.- Since:
- 5.4
-
module
public static name)
Convenience for defining a MODULE.- Since:
- 5.4
-
stylesheet
public static path)
Convenience for defining a STYLESHEET.- Since:
- 5.4
-
stack
public static name)
Convenience for defining a STACK.- Since:
- 5.4
-
javascriptAggregation
public static StackExtension javascriptAggregation(JavaScriptAggregationStrategy strategy)
Convenience for defining theJavaScriptStack.getJavaScriptAggregationStrategy()
.- Since:
- 5.4
-
-