Griffon 1.2.0

griffon.util
[Java] Class AbstractBuildSettings

java.lang.Object
  griffon.util.AbstractBuildSettings

public abstract class AbstractBuildSettings

Methods optimized to Java for the BuildSettings class.

Since:
0.9.1


Field Summary
protected Map cache

Used to cache results of certain expensive operations

protected ConfigObject config

The settings stored in the project's BuildConfig.groovy file if there is one.

protected Map flatConfig

Flattened version of the ConfigObject for easy access from Java

protected File projectPluginsDir

The location where project-specific plugins are installed to.

protected boolean projectPluginsDirSet

 
Constructor Summary
AbstractBuildSettings()

 
Method Summary
void clearCache()

Clears any locally cached values

void debug(String msg)

File getBaseDir()

ConfigObject getConfig()

String getDefaultAnswerNonInteractive()

File getProjectPluginsDir()

boolean isDebugEnabled()

void setConfig(ConfigObject config)

void setProjectPluginsDir(File projectPluginsDir)

 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Field Detail

cache

protected Map cache
Used to cache results of certain expensive operations


config

protected ConfigObject config
The settings stored in the project's BuildConfig.groovy file if there is one.


flatConfig

@SuppressWarnings("rawtypes")
protected Map flatConfig
Flattened version of the ConfigObject for easy access from Java


projectPluginsDir

protected File projectPluginsDir
The location where project-specific plugins are installed to.


projectPluginsDirSet

protected boolean projectPluginsDirSet


 
Constructor Detail

AbstractBuildSettings

AbstractBuildSettings()


 
Method Detail

clearCache

void clearCache()
Clears any locally cached values


debug

public void debug(String msg)


getBaseDir

File getBaseDir()


getConfig

public ConfigObject getConfig()


getDefaultAnswerNonInteractive

public String getDefaultAnswerNonInteractive()


getProjectPluginsDir

public File getProjectPluginsDir()


isDebugEnabled

public boolean isDebugEnabled()


setConfig

public void setConfig(ConfigObject config)


setProjectPluginsDir

public void setProjectPluginsDir(File projectPluginsDir)


 

Groovy Documentation