|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.pebble.PebbleContext
public class PebbleContext
A bean representing the Pebble context.
Method Summary | |
---|---|
java.lang.String |
getBuildDate()
Gets the date that Pebble was built. |
java.lang.String |
getBuildVersion()
Gets the version of Pebble being used. |
Configuration |
getConfiguration()
|
static PebbleContext |
getInstance()
|
long |
getMemoryUsageInKB()
|
long |
getTotalMemoryInKB()
|
RelativeDate |
getUptime()
Gets the amount of time that Pebble has been running for. |
java.lang.String |
getWebApplicationRoot()
|
void |
setConfiguration(Configuration configuration)
|
void |
setWebApplicationRoot(java.lang.String webApplicationRoot)
Sets the directory where themes are located. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static PebbleContext getInstance()
public java.lang.String getBuildVersion()
public java.lang.String getBuildDate()
public RelativeDate getUptime()
public long getMemoryUsageInKB()
public long getTotalMemoryInKB()
public Configuration getConfiguration()
public void setConfiguration(Configuration configuration)
public void setWebApplicationRoot(java.lang.String webApplicationRoot)
webApplicationRoot
- the absolute path to the webapp root on diskpublic java.lang.String getWebApplicationRoot()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |