Package org.freeplane.plugin.script
Class FreeplaneScriptBaseClass.ConfigProperties
- java.lang.Object
-
- org.freeplane.plugin.script.FreeplaneScriptBaseClass.ConfigProperties
-
- Enclosing class:
- FreeplaneScriptBaseClass
public static class FreeplaneScriptBaseClass.ConfigProperties extends Object
Accessor for Freeplane's configuration: In scripts available as "global variable"config
.
-
-
Constructor Summary
Constructors Constructor Description ConfigProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAt(String name)
support config['key'] from Groovy.boolean
getBooleanProperty(String name)
double
getDoubleProperty(String name, double defaultValue)
String
getFreeplaneUserDirectory()
int
getIntProperty(String name)
int
getIntProperty(String name, int defaultValue)
long
getLongProperty(String name, int defaultValue)
Properties
getProperties()
String
getProperty(String name)
String
getProperty(String name, String defaultValue)
ResourceBundle
getResources()
-
-
-
Method Detail
-
getBooleanProperty
public boolean getBooleanProperty(String name)
-
getDoubleProperty
public double getDoubleProperty(String name, double defaultValue)
-
getIntProperty
public int getIntProperty(String name)
-
getIntProperty
public int getIntProperty(String name, int defaultValue)
-
getLongProperty
public long getLongProperty(String name, int defaultValue)
-
getProperties
public Properties getProperties()
-
getResources
public ResourceBundle getResources()
-
getFreeplaneUserDirectory
public String getFreeplaneUserDirectory()
-
-