|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.groovydice.GroovyDice
public class GroovyDice
Groovy Dice configuration context. This class contains references to other important objects, like the plugin manager, the dynamic API and the random number generator.
Constructor Summary | |
---|---|
GroovyDice()
This constructor register the builtin plugins. |
Method Summary | |
---|---|
GroovyDiceAPI |
getApi()
|
groovy.lang.MetaClass |
getMetaClass()
|
Object |
getNumberGenerator()
|
PluginManager |
getPluginManager()
|
Object |
getProperty(String name)
|
void |
initialize()
Initialize the Groovy Dice engine. |
Object |
invokeMethod(String name,
Object args)
|
void |
registerBuiltInPlugins()
Register the built-in Groovy Dice plugins. |
void |
setMetaClass(groovy.lang.MetaClass metaClass)
|
void |
setNumberGenerator(Object value)
|
void |
setProperty(String name,
Object value)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GroovyDice()
Method Detail |
---|
public Object getNumberGenerator()
public void setNumberGenerator(Object value)
public final PluginManager getPluginManager()
public final GroovyDiceAPI getApi()
public void initialize()
public void registerBuiltInPlugins()
public groovy.lang.MetaClass getMetaClass()
getMetaClass
in interface groovy.lang.GroovyObject
public void setMetaClass(groovy.lang.MetaClass metaClass)
setMetaClass
in interface groovy.lang.GroovyObject
public Object invokeMethod(String name, Object args)
invokeMethod
in interface groovy.lang.GroovyObject
public Object getProperty(String name)
getProperty
in interface groovy.lang.GroovyObject
public void setProperty(String name, Object value)
setProperty
in interface groovy.lang.GroovyObject
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |