public class AppController extends Object
| Modifier and Type | Field and Description |
|---|---|
protected org.slf4j.Logger |
logger |
| Constructor and Description |
|---|
AppController(String[] mainArgs,
org.spincast.core.json.IJsonManager jsonManager,
org.spincast.core.utils.ISpincastUtils spincastUtils,
List<INewsEntry> newsEntries) |
| Modifier and Type | Method and Description |
|---|---|
void |
about(IAppRequestContext context) |
void |
addGlobalTemplatingVariables(IAppRequestContext context)
This will add some global variables that will be
available to any templating engine evaluation.
|
void |
community(IAppRequestContext context) |
void |
documentation(IAppRequestContext context) |
void |
download(IAppRequestContext context) |
protected org.spincast.core.json.IJsonManager |
getJsonManager() |
protected String[] |
getMainArgs() |
protected List<INewsEntry> |
getNewsEntries() |
protected String |
getPluginDocTemplatePath(String pluginName)
Return the classpath path to the plugin documentation template
or NULL if not found.
|
protected org.spincast.core.utils.ISpincastUtils |
getSpincastUtils() |
void |
index(IAppRequestContext context) |
void |
news(IAppRequestContext context) |
void |
plugin(IAppRequestContext context)
A Plugin documentation
|
void |
plugins(IAppRequestContext context) |
@Inject public AppController(String[] mainArgs, org.spincast.core.json.IJsonManager jsonManager, org.spincast.core.utils.ISpincastUtils spincastUtils, List<INewsEntry> newsEntries)
protected String[] getMainArgs()
protected org.spincast.core.json.IJsonManager getJsonManager()
protected org.spincast.core.utils.ISpincastUtils getSpincastUtils()
protected List<INewsEntry> getNewsEntries()
public void addGlobalTemplatingVariables(IAppRequestContext context)
public void index(IAppRequestContext context)
public void documentation(IAppRequestContext context)
public void download(IAppRequestContext context)
public void plugins(IAppRequestContext context)
public void community(IAppRequestContext context)
public void about(IAppRequestContext context)
public void plugin(IAppRequestContext context)
protected String getPluginDocTemplatePath(String pluginName)
public void news(IAppRequestContext context)
Copyright © 2016. All rights reserved.