grails.util
Class BuildSettings

java.lang.Object
  extended by grails.util.BuildSettings
All Implemented Interfaces:
groovy.lang.GroovyObject

public class BuildSettings
extends Object
implements groovy.lang.GroovyObject


Field Summary
static String APP_BASE_DIR
           
static String GLOBAL_PLUGINS_DIR
           
static String PLUGINS_DIR
           
static String PROJECT_CLASSES_DIR
           
static String PROJECT_RESOURCES_DIR
           
static String PROJECT_TEST_CLASSES_DIR
           
static String PROJECT_TEST_REPORTS_DIR
           
static String PROJECT_WAR_EXPLODED_DIR
           
static String PROJECT_WORK_DIR
           
static String WORK_DIR
           
 
Constructor Summary
BuildSettings()
           
BuildSettings(File grailsHome)
           
BuildSettings(File grailsHome, File baseDir)
           
 
Method Summary
protected  groovy.lang.MetaClass $getStaticMetaClass()
           
 File getBaseDir()
           
 File getClassesDir()
           
 List getCompileDependencies()
           
 groovy.util.ConfigObject getConfig()
           
static Pattern getDEFAULT_DEPS()
           
 boolean getDefaultEnv()
           
 Map getDefaultPluginMap()
           
 Set getDefaultPluginSet()
           
 File getGlobalPluginsDir()
           
 String getGrailsEnv()
           
 File getGrailsHome()
           
 groovy.lang.Closure getGrailsScriptClosure()
           
 String getGrailsVersion()
           
 File getGrailsWorkDir()
           
static Pattern getJAR_PATTERN()
           
 groovy.lang.MetaClass getMetaClass()
           
 File getProjectPluginsDir()
           
 File getProjectWarExplodedDir()
           
 File getProjectWorkDir()
           
 Object getProperty(String property)
           
 File getResourcesDir()
           
 URLClassLoader getRootLoader()
           
 List getRuntimeDependencies()
           
 File getTestClassesDir()
           
 List getTestDependencies()
           
 File getTestReportsDir()
           
 File getUserHome()
           
 Object invokeMethod(String method, Object arguments)
           
 boolean isDefaultEnv()
           
 groovy.util.ConfigObject loadConfig()
           
 groovy.util.ConfigObject loadConfig(File configFile)
           
 void setBaseDir(File newBaseDir)
           
 void setClassesDir(File dir)
           
 void setCompileDependencies(List value)
           
 void setConfig(groovy.util.ConfigObject value)
           
 void setDefaultEnv(boolean value)
           
 void setDefaultPluginMap(Map value)
           
 void setDefaultPluginSet(Set value)
           
 void setGlobalPluginsDir(File dir)
           
 void setGrailsEnv(String value)
           
 void setGrailsHome(File value)
           
 void setGrailsScriptClosure(groovy.lang.Closure value)
           
 void setGrailsVersion(String value)
           
 void setGrailsWorkDir(File dir)
           
 void setMetaClass(groovy.lang.MetaClass mc)
           
 void setProjectPluginsDir(File dir)
           
 void setProjectWarExplodedDir(File dir)
           
 void setProjectWorkDir(File dir)
           
 void setProperty(String property, Object value)
           
 void setResourcesDir(File dir)
           
 void setRootLoader(URLClassLoader value)
           
 void setRuntimeDependencies(List value)
           
 void setTestClassesDir(File dir)
           
 void setTestDependencies(List value)
           
 void setTestReportsDir(File dir)
           
 void setUserHome(File value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

APP_BASE_DIR

public static String APP_BASE_DIR

WORK_DIR

public static String WORK_DIR

PROJECT_WORK_DIR

public static String PROJECT_WORK_DIR

PROJECT_WAR_EXPLODED_DIR

public static String PROJECT_WAR_EXPLODED_DIR

PLUGINS_DIR

public static String PLUGINS_DIR

GLOBAL_PLUGINS_DIR

public static String GLOBAL_PLUGINS_DIR

PROJECT_RESOURCES_DIR

public static String PROJECT_RESOURCES_DIR

PROJECT_CLASSES_DIR

public static String PROJECT_CLASSES_DIR

PROJECT_TEST_CLASSES_DIR

public static String PROJECT_TEST_CLASSES_DIR

PROJECT_TEST_REPORTS_DIR

public static String PROJECT_TEST_REPORTS_DIR
Constructor Detail

BuildSettings

public BuildSettings()

BuildSettings

public BuildSettings(File grailsHome)

BuildSettings

public BuildSettings(File grailsHome,
                     File baseDir)
Method Detail

getDEFAULT_DEPS

public static Pattern getDEFAULT_DEPS()

getJAR_PATTERN

public static Pattern getJAR_PATTERN()

getUserHome

public File getUserHome()

setUserHome

public void setUserHome(File value)

getGrailsHome

public File getGrailsHome()

setGrailsHome

public void setGrailsHome(File value)

getGrailsVersion

public String getGrailsVersion()

setGrailsVersion

public void setGrailsVersion(String value)

getGrailsEnv

public String getGrailsEnv()

setGrailsEnv

public void setGrailsEnv(String value)

getDefaultEnv

public boolean getDefaultEnv()

isDefaultEnv

public boolean isDefaultEnv()

setDefaultEnv

public void setDefaultEnv(boolean value)

getRootLoader

public URLClassLoader getRootLoader()

setRootLoader

public void setRootLoader(URLClassLoader value)

getConfig

public groovy.util.ConfigObject getConfig()

setConfig

public void setConfig(groovy.util.ConfigObject value)

getGrailsScriptClosure

public groovy.lang.Closure getGrailsScriptClosure()

setGrailsScriptClosure

public void setGrailsScriptClosure(groovy.lang.Closure value)

getDefaultPluginSet

public Set getDefaultPluginSet()

setDefaultPluginSet

public void setDefaultPluginSet(Set value)

getDefaultPluginMap

public Map getDefaultPluginMap()

setDefaultPluginMap

public void setDefaultPluginMap(Map value)

getCompileDependencies

public List getCompileDependencies()

setCompileDependencies

public void setCompileDependencies(List value)

getTestDependencies

public List getTestDependencies()

setTestDependencies

public void setTestDependencies(List value)

getRuntimeDependencies

public List getRuntimeDependencies()

setRuntimeDependencies

public void setRuntimeDependencies(List value)

getBaseDir

public File getBaseDir()

setBaseDir

public void setBaseDir(File newBaseDir)

getGrailsWorkDir

public File getGrailsWorkDir()

setGrailsWorkDir

public void setGrailsWorkDir(File dir)

getProjectWorkDir

public File getProjectWorkDir()

setProjectWorkDir

public void setProjectWorkDir(File dir)

getProjectWarExplodedDir

public File getProjectWarExplodedDir()

setProjectWarExplodedDir

public void setProjectWarExplodedDir(File dir)

getClassesDir

public File getClassesDir()

setClassesDir

public void setClassesDir(File dir)

getTestClassesDir

public File getTestClassesDir()

setTestClassesDir

public void setTestClassesDir(File dir)

getResourcesDir

public File getResourcesDir()

setResourcesDir

public void setResourcesDir(File dir)

getProjectPluginsDir

public File getProjectPluginsDir()

setProjectPluginsDir

public void setProjectPluginsDir(File dir)

getGlobalPluginsDir

public File getGlobalPluginsDir()

setGlobalPluginsDir

public void setGlobalPluginsDir(File dir)

getTestReportsDir

public File getTestReportsDir()

setTestReportsDir

public void setTestReportsDir(File dir)

loadConfig

public groovy.util.ConfigObject loadConfig()

loadConfig

public groovy.util.ConfigObject loadConfig(File configFile)

$getStaticMetaClass

protected groovy.lang.MetaClass $getStaticMetaClass()

getMetaClass

public groovy.lang.MetaClass getMetaClass()
Specified by:
getMetaClass in interface groovy.lang.GroovyObject

setMetaClass

public void setMetaClass(groovy.lang.MetaClass mc)
Specified by:
setMetaClass in interface groovy.lang.GroovyObject

invokeMethod

public Object invokeMethod(String method,
                           Object arguments)
Specified by:
invokeMethod in interface groovy.lang.GroovyObject

getProperty

public Object getProperty(String property)
Specified by:
getProperty in interface groovy.lang.GroovyObject

setProperty

public void setProperty(String property,
                        Object value)
Specified by:
setProperty in interface groovy.lang.GroovyObject


Copyright (c) 2005-2009 The Grails project