|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.6.0) E13403-07 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.javatools.data.HashStructureAdapter oracle.jdeveloper.runner.RunConfiguration
public class RunConfiguration
The RunConfiguration class specifies details about how a Java process should be started.
Field Summary | |
---|---|
static java.lang.String |
ALLOW_INPUT
|
static java.lang.String |
CLEAR_LOG_BEFORE_RUN
|
static java.lang.String |
COMPILE_BEFORE_RUN
|
static java.lang.String |
COMPILE_PROJECT_AND_DEPENDENCIES_BEFORE_RUN
|
static java.lang.String |
COMPILE_PROJECT_ONLY_BEFORE_RUN
|
static java.lang.String |
CONNECTION_NAME
|
static java.lang.String |
CUSTOM
|
static java.lang.String |
JAVA_OPTIONS
|
static java.lang.String |
JS_RUN_CONFIGURATION_BROWSER_EXECUTABLE
|
static java.lang.String |
JS_RUN_CONFIGURATION_ENABLE_BEBUG_STATEMENT
|
static java.lang.String |
JS_RUN_CONFIGURATION_STOP_IN_CHROME
|
static java.lang.String |
JS_RUN_CONFIGURATION_STOP_ON_ERROR
|
static java.lang.String |
JS_RUN_CONFIGURATION_STOP_ON_EXCEPTION
|
static java.lang.String |
JS_RUN_CONFIGURATION_TRANSFER_ERRORS
|
static java.lang.String |
JS_RUN_CONFIGURATION_TYPE
|
static java.lang.String |
LOG_COMMAND
|
static java.lang.String |
LOG_ERROR
|
static java.lang.String |
LOG_EXIT
|
static java.lang.String |
LOG_OUTPUT
|
static java.lang.String |
NAME
|
static java.lang.String |
PROGRAM_ARGUMENTS
|
static java.lang.String |
REMOTE_DEBUGGING_PROFILING
|
static java.lang.String |
RUN_ACTIVE_FILE
|
static java.lang.String |
RUN_ANT_BEFORE_RUN
|
static java.lang.String |
RUN_DIRECTORY_URL
|
static java.lang.String |
SAVE_ALL_BEFORE_RUN
|
static java.lang.String |
TARGET_URL
|
static java.lang.String |
USE_PROXY
|
static java.lang.String |
VM_NAME
|
Fields inherited from class oracle.javatools.data.HashStructureAdapter |
---|
_hash |
Fields inherited from interface oracle.javatools.data.PropertyStorage |
---|
DATA_KEY |
Constructor Summary | |
---|---|
RunConfiguration()
|
|
RunConfiguration(HashStructure hash)
|
|
RunConfiguration(RunConfiguration copyFrom,
java.lang.String name,
boolean custom)
Creates a new RunConfiguration which is a copy of another one IMPORTANT: Do NOT use '/' characters in the RunConfiguration name |
Method Summary | |
---|---|
java.lang.String |
getConnectionName()
Returns the database connection name. |
static java.lang.String |
getDefaultName()
|
static RunConfiguration |
getInstance(PropertyStorage propertyStorage)
|
java.lang.String |
getJavaOptions()
Returns the java options. |
java.lang.String |
getJSRunConfigurationBrowserExecutable()
|
java.lang.String |
getJSRunConfigurationEnableDebug()
|
java.lang.String |
getJSRunConfigurationStopInChrome()
|
java.lang.String |
getJSRunConfigurationStopOnError()
|
java.lang.String |
getJSRunConfigurationStopOnException()
|
java.lang.String |
getJSRunConfigurationTransferErrors()
|
java.lang.String |
getJSRunConfigurationType()
Returns the database connection name. |
java.lang.String |
getName()
Returns the name. |
java.lang.String |
getProgramArguments()
Returns the program arguments. |
HashStructure |
getProperties()
|
static RunConfiguration |
getRunConfiguration(Project project,
java.lang.String configName)
Deprecated. Call getInstance(oracle.javatools.data.PropertyStorage) instead. |
java.net.URL |
getRunDirectoryURL()
Returns the working directory |
java.net.URL |
getTargetURL()
Returns the target URL. |
java.lang.String |
getVMName(JDK jdk)
Returns the name of the Virtual Machine. |
java.lang.String |
getVMName(JDK jdk,
Project project)
Returns the name of the Virtual Machine. |
boolean |
isAllowInput()
Returns whether the user should be able to enter input for System.in. |
boolean |
isClearLogBeforeRun()
Returns whether the log page should be cleared before running. |
boolean |
isCompileBeforeRun()
Returns whether the project (and dependencies) should be compiled before running. |
boolean |
isCustom()
Returns whether this run configuration is custom. |
boolean |
isLogCommand()
Returns whether the command should be logged. |
boolean |
isLogError()
Returns whether System.err should be redirected to the log page. |
boolean |
isLogExit()
Returns whether the exit message should be logged. |
boolean |
isLogOutput()
Returns whether System.out should be redirected to the log page. |
boolean |
isRemoteDebuggingProfiling()
Returns whether remote debugging and profiling. |
boolean |
isRunActiveFile()
Returns whether the active file should be run. |
boolean |
isRunAntBeforeRun()
Returns whether to run Ant before running. |
boolean |
isSaveAllBeforeRun()
Returns whether all files should be saved before running. |
boolean |
isUseProxy()
Returns whether the proxy options should be used. |
void |
restoreDefaults()
|
void |
setAllowInput(boolean allowInput)
Sets whether the user should be able to enter input for System.in. |
void |
setClearLogBeforeRun(boolean clearLogBeforeRun)
Sets whether the log page should be cleared before running. |
void |
setCompileBeforeRun(boolean compileBeforeRun)
Sets whether the project (and dependencies) should be compiled before running. |
void |
setConnectionName(java.lang.String connectionName)
Sets the database connection name. |
void |
setCustom(boolean custom)
Sets whether this run configuration is custom. |
void |
setJavaOptions(java.lang.String javaOptions)
Sets the java options. |
void |
setJSRunConfigurationBrowserExecutable(java.lang.String connectionName)
|
void |
setJSRunConfigurationEnableDebug(java.lang.String connectionName)
|
void |
setJSRunConfigurationStopInChrome(java.lang.String connectionName)
|
void |
setJSRunConfigurationStopOnError(java.lang.String connectionName)
|
void |
setJSRunConfigurationStopOnException(java.lang.String connectionName)
|
void |
setJSRunConfigurationTransferErrors(java.lang.String connectionName)
|
void |
setJSRunConfigurationType(java.lang.String connectionName)
Sets the database connection name. |
void |
setLogCommand(boolean logCommand)
Sets whether the command should be logged. |
void |
setLogError(boolean logError)
Sets whether System.err should be redirected to the log page. |
void |
setLogExit(boolean logExit)
Sets whether the exit message should be logged. |
void |
setLogOutput(boolean logOutput)
Sets whether System.out should be redirected to the log page. |
void |
setName(java.lang.String name)
Sets the name. |
void |
setProgramArguments(java.lang.String programArguments)
Sets the program arguments. |
void |
setRemoteDebuggingProfiling(boolean remoteDebuggingProfiling)
Sets whether remote debugging and profiling. |
void |
setRunActiveFile(boolean runActiveFile)
Sets whether the active file should be run. |
void |
setRunAntBeforeRun(boolean runAntBeforeRun)
Sets whether to run Ant before running. |
void |
setRunDirectoryURL(java.net.URL runDirectoryURL)
Sets the working directory |
void |
setSaveAllBeforeRun(boolean saveAllBeforeRun)
|
void |
setTargetURL(java.net.URL targetURL)
Sets the target URL. |
void |
setUseProxy(boolean useProxy)
Sets whether the proxy options should be used. |
void |
setVMName(java.lang.String vmName)
Sets the name of the Virtual Machine. |
java.lang.String |
toString()
|
boolean |
usingClassic(JDK jdk)
Returns true if the Virtual Machine is classic. |
boolean |
usingMinimal(JDK jdk)
Returns true if the Virtual Machine is minimal. |
boolean |
usingOJVM(JDK jdk)
Returns true if the Virtual Machine is ojvm. |
boolean |
usingVanilla(JDK jdk)
Returns true if the Virtual Machine is vanilla. |
Methods inherited from class oracle.javatools.data.HashStructureAdapter |
---|
addStructureChangeListener, containsKey, copyTo, copyToImpl, equals, equalsImpl, findOrCreate, forcedCopyTo, getHashStructure, removeStructureChangeListener, useObjectEquals |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String NAME
public static final java.lang.String CUSTOM
public static final java.lang.String RUN_DIRECTORY_URL
public static final java.lang.String VM_NAME
public static final java.lang.String JAVA_OPTIONS
public static final java.lang.String TARGET_URL
public static final java.lang.String RUN_ACTIVE_FILE
public static final java.lang.String PROGRAM_ARGUMENTS
public static final java.lang.String REMOTE_DEBUGGING_PROFILING
public static final java.lang.String CONNECTION_NAME
public static final java.lang.String COMPILE_BEFORE_RUN
public static final java.lang.String COMPILE_PROJECT_ONLY_BEFORE_RUN
public static final java.lang.String COMPILE_PROJECT_AND_DEPENDENCIES_BEFORE_RUN
public static final java.lang.String RUN_ANT_BEFORE_RUN
public static final java.lang.String CLEAR_LOG_BEFORE_RUN
public static final java.lang.String SAVE_ALL_BEFORE_RUN
public static final java.lang.String LOG_COMMAND
public static final java.lang.String LOG_OUTPUT
public static final java.lang.String LOG_ERROR
public static final java.lang.String ALLOW_INPUT
public static final java.lang.String LOG_EXIT
public static final java.lang.String USE_PROXY
public static final java.lang.String JS_RUN_CONFIGURATION_TYPE
public static final java.lang.String JS_RUN_CONFIGURATION_ENABLE_BEBUG_STATEMENT
public static final java.lang.String JS_RUN_CONFIGURATION_STOP_ON_ERROR
public static final java.lang.String JS_RUN_CONFIGURATION_STOP_ON_EXCEPTION
public static final java.lang.String JS_RUN_CONFIGURATION_TRANSFER_ERRORS
public static final java.lang.String JS_RUN_CONFIGURATION_STOP_IN_CHROME
public static final java.lang.String JS_RUN_CONFIGURATION_BROWSER_EXECUTABLE
Constructor Detail |
---|
public RunConfiguration(HashStructure hash)
public RunConfiguration()
public RunConfiguration(RunConfiguration copyFrom, java.lang.String name, boolean custom)
copyFrom
- The RunConfiguration to copy fromname
- The name of the RunConfigurationcustom
- True if this is a custom RunConfigurationMethod Detail |
---|
public static RunConfiguration getInstance(PropertyStorage propertyStorage)
public static RunConfiguration getRunConfiguration(Project project, java.lang.String configName)
getInstance(oracle.javatools.data.PropertyStorage)
instead.
public static java.lang.String getDefaultName()
public java.lang.String toString()
toString
in class java.lang.Object
public HashStructure getProperties()
getProperties
in interface PropertyStorage
HashStructure
wrapped by this PropertyStorage.public void restoreDefaults()
public java.lang.String getName()
public void setName(java.lang.String name)
public boolean isCustom()
public void setCustom(boolean custom)
public java.net.URL getRunDirectoryURL()
public void setRunDirectoryURL(java.net.URL runDirectoryURL)
public void setVMName(java.lang.String vmName)
public java.lang.String getJavaOptions()
public void setJavaOptions(java.lang.String javaOptions)
public java.net.URL getTargetURL()
public void setTargetURL(java.net.URL targetURL)
public boolean isRunActiveFile()
public void setRunActiveFile(boolean runActiveFile)
public java.lang.String getProgramArguments()
public void setProgramArguments(java.lang.String programArguments)
public boolean isRemoteDebuggingProfiling()
public void setRemoteDebuggingProfiling(boolean remoteDebuggingProfiling)
public java.lang.String getConnectionName()
public void setConnectionName(java.lang.String connectionName)
public boolean isCompileBeforeRun()
public void setCompileBeforeRun(boolean compileBeforeRun)
public boolean isRunAntBeforeRun()
public void setRunAntBeforeRun(boolean runAntBeforeRun)
public boolean isClearLogBeforeRun()
public void setClearLogBeforeRun(boolean clearLogBeforeRun)
public boolean isSaveAllBeforeRun()
public void setSaveAllBeforeRun(boolean saveAllBeforeRun)
public boolean isLogCommand()
public void setLogCommand(boolean logCommand)
public boolean isLogOutput()
public void setLogOutput(boolean logOutput)
public boolean isLogError()
public void setLogError(boolean logError)
public boolean isAllowInput()
public void setAllowInput(boolean allowInput)
public boolean isLogExit()
public void setLogExit(boolean logExit)
public boolean isUseProxy()
public void setUseProxy(boolean useProxy)
public java.lang.String getVMName(JDK jdk)
Verifies that the VM is valid for the JDK.
If the VM is not valid, returns the default VM.
jdk
- the JDK#getVMName(JDK,JProject)
public java.lang.String getVMName(JDK jdk, Project project)
Verifies the the VM is valid for the JDK.
If the VM is not valid, changes the VM to the default VM and marks the project dirty.
jdk
- the JDKproject
- the projectpublic boolean usingOJVM(JDK jdk)
public boolean usingMinimal(JDK jdk)
public boolean usingVanilla(JDK jdk)
public boolean usingClassic(JDK jdk)
public java.lang.String getJSRunConfigurationType()
public void setJSRunConfigurationType(java.lang.String connectionName)
public java.lang.String getJSRunConfigurationEnableDebug()
public void setJSRunConfigurationEnableDebug(java.lang.String connectionName)
public java.lang.String getJSRunConfigurationStopOnError()
public void setJSRunConfigurationStopOnError(java.lang.String connectionName)
public java.lang.String getJSRunConfigurationStopOnException()
public void setJSRunConfigurationStopOnException(java.lang.String connectionName)
public java.lang.String getJSRunConfigurationTransferErrors()
public void setJSRunConfigurationTransferErrors(java.lang.String connectionName)
public java.lang.String getJSRunConfigurationStopInChrome()
public void setJSRunConfigurationStopInChrome(java.lang.String connectionName)
public java.lang.String getJSRunConfigurationBrowserExecutable()
public void setJSRunConfigurationBrowserExecutable(java.lang.String connectionName)
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.6.0) E13403-07 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |