|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfnug.config.DefaultBundleConfig
public class DefaultBundleConfig
Default implementation of BundleConfig
Field Summary |
---|
Fields inherited from interface fnug.config.BundleConfig |
---|
DEFAULT_CHECK_MODIFIED |
Constructor Summary | |
---|---|
DefaultBundleConfig(Resource configResource,
String name,
String basePath,
String[] jsLintArgs,
int checkModifiedInterval,
String[] jsCompileArgs,
String[] files)
Constructs setting all configurations. |
Method Summary | |
---|---|
String |
basePath()
Base path of the bundle. |
int |
checkModifiedInterval()
The interval in milliseconds that we are to check the modified dates of resources resolved by this bundle. |
Resource |
configResource()
Returns the resource responsible for this configuration. |
String[] |
files()
Files that comprises this bundle. |
String[] |
jsCompileArgs()
Additional compilation arguments passed to JsCompressor . |
String[] |
jsLintArgs()
The arguments used for JSLint. |
String |
name()
Name of the bundle. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultBundleConfig(Resource configResource, String name, String basePath, String[] jsLintArgs, int checkModifiedInterval, String[] jsCompileArgs, String[] files)
configResource
- Resource that built this instance.name
- See name()
basePath
- See basePath()
jsLintArgs
- See jsLintArgs()
checkModifiedInterval
- See checkModifiedInterval()
jsCompileArgs
- See jsCompileArgs()
files
- See files()
Method Detail |
---|
public Resource configResource()
configResource
in interface BundleConfig
public String name()
name
in interface BundleConfig
Bundle.BUNDLE_ALLOWED_CHARS
.public String basePath()
Resource.getBasePath()
.
basePath
in interface BundleConfig
public String[] jsLintArgs()
jsLintArgs
in interface BundleConfig
public int checkModifiedInterval()
checkModifiedInterval
in interface BundleConfig
public String[] jsCompileArgs()
JsCompressor
.
jsCompileArgs
in interface BundleConfig
public String[] files()
Resource.findRequiresTags()
.
files
in interface BundleConfig
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |