public interface WorkbenchConfiguration
This interface is not intended to be implemented by clients.
MDWorkbench.getConfiguration()
Modifier and Type | Method and Description |
---|---|
CommandLine |
getCommandLine()
Returns the command line that launched the workbench.
|
Logger |
getLogger()
Returns the logger, used to display errors and warnings, as well as debugging information.
|
MDWorkbench |
getWorkbench()
Return the configured workbench.
|
boolean |
isHeadless()
Determines whether the workbench runs in headless mode (no user interface).
|
void |
setCommandLine(CommandLine commandLine)
Sets the command line that launched the workbench.
|
void |
setHeadless(boolean headless)
Specifies whether the workbench runs in headless mode (no user interface).
|
void |
setLogger(Logger logger)
Sets the logger to use to display errors and warnings, as well as debugging information.
|
MDWorkbench getWorkbench()
boolean isHeadless()
This property can be used for example by template and script designers to check whether they should request options to the end-user through an dialog box or a configuration file.
true
if the workbench runs in headless mode (no user interface), false
otherwise.void setHeadless(boolean headless)
headless
- true
if the workbench should runs in headless mode (no user interface), false
otherwise.Logger getLogger()
void setLogger(Logger logger)
logger
- the logger.CommandLine getCommandLine()
void setCommandLine(CommandLine commandLine)
commandLine
- the command line.