public class StackExtension extends Object
JavaScriptStack
. Such a stack is created in terms of all the contributions.ExtensibleJavaScriptStack
Modifier and Type | Field and Description |
---|---|
StackExtensionType |
type
The type of extension.
|
String |
value
The value contributed; will have symbols expanded, then be converted to the appropriate type.
|
Constructor and Description |
---|
StackExtension(StackExtensionType type,
String value) |
Modifier and Type | Method and Description |
---|---|
static StackExtension |
javascriptAggregation(JavaScriptAggregationStrategy strategy)
Convenience for defining the
JavaScriptStack.getJavaScriptAggregationStrategy() . |
static StackExtension |
library(String path)
Convenience for defining a LIBRARY.
|
static StackExtension |
module(String name)
Convenience for defining a MODULE.
|
static StackExtension |
stack(String name)
Convenience for defining a STACK.
|
static StackExtension |
stylesheet(String path)
Convenience for defining a STYLESHEET.
|
String |
toString() |
public final StackExtensionType type
public StackExtension(StackExtensionType type, String value)
public static StackExtension library(String path)
public static StackExtension module(String name)
public static StackExtension stylesheet(String path)
public static StackExtension stack(String name)
public static StackExtension javascriptAggregation(JavaScriptAggregationStrategy strategy)
JavaScriptStack.getJavaScriptAggregationStrategy()
.${project.version} - Copyright © 2003-2015 The Apache Software Foundation.