|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.schmant.LauncherSettings
public final class LauncherSettings
Settings created when parsing input arguments to the Launcher
class's
main
method. This can also be used to launch Schmant directly
via Launcher.launch(LauncherSettings, javax.script.Bindings)
from
a Java program.
Constructor Summary | |
---|---|
LauncherSettings()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LauncherSettings()
Method Detail |
---|
public LauncherSettings setScriptFileObject(NamedReadableFile f)
setScriptFile(String)
f
- The script file object.setScriptFile(String)
public NamedReadableFile getScriptFileObject()
getScriptFile()
.
public LauncherSettings setScriptFile(String f)
f
- The file system path to the script file to run.setScriptFileObject(NamedReadableFile)
public LauncherSettings setScriptFile(File f)
f
- The script file to run.setScriptFileObject(NamedReadableFile)
public File getScriptFile()
public LauncherSettings increaseVerbosityLevel()
public LauncherSettings decreaseVerbosityLevel()
public Level getVerbosityLevel()
public LauncherSettings addProperty(String key, String value)
public LauncherSettings addProperties(Map<String,String> props)
public Map<String,String> getProperties()
public LauncherSettings setSchmantHome(File f)
public File getSchmantHome()
public LauncherSettings setTaskPackagePath(String s)
SCHMANT_HOME/task
directory is appended to the
end of the supplied path.
s
- The extra task package path as a File.separator
-separated string.public String getTaskPackagePath()
File.separator
-separated string, or null
if not
set.setTaskPackagePath(String)
public LauncherSettings setKeepTempFiles(boolean b)
public boolean isKeepTempFiles()
public LauncherSettings setPreparationScripts(String s)
public String getPreparationScripts()
public LauncherSettings setIsolatedClassLoaders(boolean b)
public boolean isIsolatedClassLoaders()
public LauncherSettings setReportFactory(String s)
public String getReportFactory()
public LauncherSettings setReportLineFormatter(String s)
public String getReportLineFormatter()
public LauncherSettings addProgramArgument(String s)
public List<String> getProgramArguments()
public LauncherSettings setTraceMode()
public boolean isTraceMode()
public LauncherSettings setScriptExecutorImplementation(String fqn)
ScriptExecutor
implementation to use. If this is not set, Launcher
will use its
service provider lookup mechanism to find an implementation based on the
file name extension of the script file.
fqn
- The fully qualified class name of a ScriptExecutor
implementation.
this
public LauncherSettings setScriptExecutorImplementation(Class<? extends ScriptExecutor> c)
ScriptExecutor
implementation to use for running the
build script. If this is not set, Launcher
will use its
service provider lookup mechanism to find an implementation based on the
file name extension of the script file.
c
- The class to use for running the build script.
this
public String getScriptExecutorImplementation()
ScriptExecutor
implementation to use for running the build script, if that is set.
null
if that is not
set.public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |