oracle.jdeveloper.runner
Class RunningProcess
java.lang.Object
  
oracle.ide.runner.RunProcess
      
oracle.jdeveloper.runner.JRunProcess
          
oracle.jdeveloper.runner.RunningProcess
- All Implemented Interfaces: 
 - Helpable, Displayable, Element
 
public class RunningProcess
- extends JRunProcess
 
Represents an actively running process (JRunProcess)
 
| Fields inherited from class oracle.jdeveloper.runner.JRunProcess | 
COMPILE_FROM_JRUNPROCESS, compileSavedAll, considerDefaultRunTarget, DATABASE_RUN_HELPER, JAVA_BOOT_CLASS_PATH, JAVA_CLASS_PATH, JAVA_FIRST_COMMAND_OPTIONS, JAVA_LAST_COMMAND_OPTIONS, lockCompiler, RUN_COOKIE_JAVA_EMBEDDED_SERVER, RUN_TYPE_DATABASE, RUN_TYPE_JAVA, RUN_TYPE_JS_MOZILLA_FIREFOX, RUN_TYPE_XQUERY, RUN_TYPE_XSLT, runConfiguration, timeAfterCompile, XSLT_FIRST_COMMAND_OPTIONS, XSLT_LAST_COMMAND_OPTIONS | 
 
| Fields inherited from class oracle.ide.runner.RunProcess | 
addToProcessesFolder, addToTerminateMenu, allowInput, container, context, determineTargetAndStarterAlready, errors, hideTerminateAction, iconOverride, isPreparingLabel, labelOverride, labelPrefixOverride, logCommandString, logError, logExit, logOutput, logPageOverride, logStartDirectory, RUN_PROCESS_DO_NOT_CONSIDER_DEFAULT, RUN_PROCESS_USE_NODE_FROM_CONTEXT, runProcessListener, showStartStatus, starter, target, timeCreated, useContainerLogPage, useLogPage, useLogPageQuietly, userCanceled | 
 
 
| 
Method Summary | 
 boolean | 
canRun(java.lang.String runType,
       java.lang.Object cookie,
       Node node,
       java.util.List errors)
 
          Always returns true, since the process is already running | 
 void | 
finished()
 
          Called to indicate the process has finished running. | 
static javax.swing.Icon | 
getDefaultIcon()
 
          Returns the default icon to use if no overriding icon is specified for the process | 
 HelpInfo | 
getHelpInfo()
 
          Return HelpInfo for the running process | 
 javax.swing.Icon | 
getIcon()
 
          Returns an icon to be used for the running process | 
 java.lang.String | 
getProcessLabelPrefix()
 
          Returns a string to be prepended to the config name when it is running (e.g., "Running:") | 
protected  boolean | 
startTarget()
 
          Clears the log page associated with this run process (if
 appropriate). | 
 
| Methods inherited from class oracle.jdeveloper.runner.JRunProcess | 
addProcessActionButtonToToolbar, addProcessActionButtonToToolbar, checkStarter, clearProcessActionButtonsFromToolbar, compile, determineTargetAndStarter, getJdkDefinition, getJProject, getLogPageToolbar, getProcessActionButtonGroup, getRunConfiguration, getStartDirectory, getTimeAfterCompile, isPlainRun, isSameType, makeLogPage, setProcessActionButtonGroup, showLogPageToolbar, showProcessActionButtonsOnToolbar, start | 
 
| Methods inherited from class oracle.ide.runner.RunProcess | 
canContainRunProcesses, canGarbageCollect, canGetStarterForTarget, canGetStarterForTarget, canStart, canStopInChrome, canStopOnDebuggerStatement, canStopOnError, canStopOnException, canTerminate, canTransferErrors, copyTo, determineTargetAndStarter, doGarbageCollection, doubleClicked, doUI, doUILater, duplicateErrorStream, duplicateOutputStream, fireFinished, fireStarted, fixCommandStringForLog, getAttributes, getChildren, getContainer, getContext, getContextNodeForRun, getData, getLogPage, getLogPage, getLongLabel, getProcessLayout, getProject, getProject, getRunnableItems, getRunnableItemsForTarget, getRunnableItemsForTarget, getShortLabel, getShortLabelWithPrefix, getStartCommand, getStartEnvironmentParams, getStarter, getStarter, getStarterFactorySubClass, getStarterForTarget, getStarterForTarget, getStopInChrome, getStopOnDebuggerStatement, getStopOnError, getStopOnException, getSystemErrAttributeSet, getSystemOutAttributeSet, getTarget, getTarget, getTerminateCommand, getTimeCreated, getToolTipText, getTransferErrors, getUseContainerLogPage, getUseLogPage, getUseLogPageQuietly, getValue, getWorkspace, hasFinished, inheritLogPage, isStartOnly, log, logCommandString, logStartDirectory, logStartErrors, mayHaveChildren, mustPrepareToStart, prepareToStart, redirectInput, redirectOutput, reuseLogPage, selected, setContainer, setHideTerminateAction, setIconOverride, setLabelOverride, setLabelPrefixOverride, setLogError, setLogExit, setLogOutput, setLogPageOverride, setStopInChrome, setStopOnDebuggerStatement, setStopOnError, setStopOnException, setTransferErrors, setUseContainerLogPage, setUseLogPage, setUseLogPageQuietly, showStartStatus, start, started, suppressDirectoryDefault, terminate, toString, unselected, waitForRedirectOutput | 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
 
RunningProcess
public RunningProcess(Context context)
canRun
public boolean canRun(java.lang.String runType,
                      java.lang.Object cookie,
                      Node node,
                      java.util.List errors)
- Always returns true, since the process is already running
- Overrides:
 canRun in class RunProcess
 
 
 
getProcessLabelPrefix
public java.lang.String getProcessLabelPrefix()
- Returns a string to be prepended to the config name when it is running (e.g., "Running:")
- Specified by:
 getProcessLabelPrefix in class RunProcess
 
- Returns:
 - the prefix that will be used in the short and long labels
 
 
 
getIcon
public javax.swing.Icon getIcon()
- Returns an icon to be used for the running process
- Specified by:
 getIcon in interface Displayable- Overrides:
 getIcon in class RunProcess
 
- Returns:
 - the Icon for this RunProcess element.
 
 
 
getDefaultIcon
public static javax.swing.Icon getDefaultIcon()
- Returns the default icon to use if no overriding icon is specified for the process
 
 
getHelpInfo
public HelpInfo getHelpInfo()
- Return HelpInfo for the running process
- Specified by:
 getHelpInfo in interface Helpable- Overrides:
 getHelpInfo in class RunProcess
 
- Returns:
 - the HelpInfo
 
 
 
startTarget
protected boolean startTarget()
- Description copied from class: 
JRunProcess 
- Clears the log page associated with this run process (if
 appropriate).
 Calls the super.startTarget method.
- Overrides:
 startTarget in class JRunProcess
 
- Returns:
 true if the process was started
 
 
finished
public void finished()
- Called to indicate the process has finished running.  Resets the state of toolbar buttons
- Overrides:
 finished in class RunProcess
 
 
 
Copyright © 1997, 2013, Oracle. All rights reserved.