Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.1.0)

E17493-02

oracle.jdeveloper.runner
Class RemoteProcess

java.lang.Object
  extended by oracle.ide.runner.RunProcess
      extended by oracle.jdeveloper.runner.JRunProcess
          extended by oracle.jdeveloper.runner.RemoteProcess
All Implemented Interfaces:
Helpable, Displayable, Element

public class RemoteProcess
extends JRunProcess


Field Summary
 
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
 
Constructor Summary
RemoteProcess(Context context)
           
 
Method Summary
 boolean canContainRunProcesses()
          Checks whether this RunProcess can have contained RunProcess.
 boolean canTerminate()
          Tests whether this RunProcess can be terminated.
 void finished()
          This method will be called by the Starter, when this process finishes.
static javax.swing.Icon getDefaultIcon()
          Gets the default Icon for a runnable element.
 javax.swing.Icon getIcon()
          Gets the Icon for this RunProcess element.
 java.lang.String getProcessLabelPrefix()
          Returns the prefix that will be used in the short and long labels for this RunProcess.
 void setToolbar()
           
 void terminate()
          Terminates this process.
 
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, startTarget
 
Methods inherited from class oracle.ide.runner.RunProcess
canGarbageCollect, canGetStarterForTarget, canGetStarterForTarget, canRun, canStart, canStopInChrome, canStopOnDebuggerStatement, canStopOnError, canStopOnException, canTransferErrors, copyTo, determineTargetAndStarter, doGarbageCollection, doubleClicked, doUI, doUILater, duplicateErrorStream, duplicateOutputStream, fireFinished, fireStarted, fixCommandStringForLog, getAttributes, getChildren, getContainer, getContext, getContextNodeForRun, getData, getHelpInfo, 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, toString, unselected, waitForRedirectOutput
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RemoteProcess

public RemoteProcess(Context context)
Method Detail

getProcessLabelPrefix

public java.lang.String getProcessLabelPrefix()
Description copied from class: RunProcess
Returns the prefix that will be used in the short and long labels for this RunProcess.

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()
Description copied from class: RunProcess
Gets the Icon for this RunProcess element.

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()
Gets the default Icon for a runnable element.

Returns:
the Icon to use if not overridden.

canContainRunProcesses

public boolean canContainRunProcesses()
Description copied from class: RunProcess
Checks whether this RunProcess can have contained RunProcess.

Overrides:
canContainRunProcesses in class RunProcess
Returns:

setToolbar

public void setToolbar()

canTerminate

public boolean canTerminate()
Description copied from class: RunProcess
Tests whether this RunProcess can be terminated.

Overrides:
canTerminate in class RunProcess
Returns:
true if this RunProcess can be terminated.

terminate

public void terminate()
Description copied from class: RunProcess
Terminates this process.

Overrides:
terminate in class RunProcess

finished

public void finished()
Description copied from class: RunProcess
This method will be called by the Starter, when this process finishes.

If the start method was not used to start the process, then this method should be called when the process finishes.

This method removes the process from the processes folder in the run manager navigator and removes the terminate menu, if a terminate menu item was added to the Run Terminate submenu for this process.

Overrides:
finished in class RunProcess

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.1.0)

E17493-02

Copyright © 1997, 2011, Oracle. All rights reserved.