public class RemoteProcess extends JRunProcess
JRunProcess.CompilationScope
canceledSelectionOfDefaultRunTarget, compilationTargets, 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
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 and Description |
---|
RemoteProcess(Context context) |
Modifier and Type | Method and Description |
---|---|
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.
|
addProcessActionButtonToToolbar, addProcessActionButtonToToolbar, checkStarter, clearProcessActionButtonsFromToolbar, compile, determineTargetAndStarter, getCompilationScope, getJdkDefinition, getJProject, getJProject, getLogPageToolbar, getProcessActionButtonGroup, getRunConfiguration, getStartDirectory, getStartEnvironmentParams, getTimeAfterCompile, isPlainRun, isSameType, makeLogPage, setProcessActionButtonGroup, showLogPageToolbar, showProcessActionButtonsOnToolbar, start, startTarget
canGarbageCollect, canGetStarterForTarget, canGetStarterForTarget, canRun, canStart, canStopInChrome, canStopOnDebuggerStatement, canStopOnError, canStopOnException, canTransferErrors, copyTo, determineTargetAndStarter, doGarbageCollection, doubleClicked, doUI, doUILater, duplicateErrorStream, duplicateOutputStream, finishProgressHandle, fireFinished, fireStarted, fixCommandStringForLog, getAttributes, getChildren, getContainer, getContext, getContextNodeForRun, getData, getHelpInfo, getLogPage, getLogPage, getLongLabel, getProcessLayout, getProject, getProject, getRetargetProcess, getRunnableItems, getRunnableItemsForTarget, getRunnableItemsForTarget, getShortLabel, getShortLabelWithPrefix, getStartCommand, getStarter, getStarter, getStarterFactorySubClass, getStarterForTarget, getStarterForTarget, getStopInChrome, getStopOnDebuggerStatement, getStopOnError, getStopOnException, getSuppressLogging, getSystemErrAttributeSet, getSystemOutAttributeSet, getTarget, getTarget, getTerminateCommand, getTimeCreated, getToolTipText, getTransferErrors, getUseContainerLogPage, getUseLogPage, getUseLogPageQuietly, getValue, getWorkspace, hasFinished, inheritLogPage, initProgressHandle, initProgressHandle, isProgressHandleActive, isRetargetableProcess, isStartOnly, log, logCommandString, logStartDirectory, logStartErrors, mayHaveChildren, mustPrepareToStart, prepareToStart, redirectInput, redirectOutput, reuseLogPage, selected, setContainer, setHideTerminateAction, setIconOverride, setLabelOverride, setLabelPrefixOverride, setLogCommandString, setLogError, setLogExit, setLogOutput, setLogPageOverride, setLogStartDirectory, setProgressHandleDisplayName, setStopInChrome, setStopOnDebuggerStatement, setStopOnError, setStopOnException, setSuppressLogging, setTransferErrors, setUseContainerLogPage, setUseLogPage, setUseLogPageQuietly, showStartStatus, start, started, suppressDirectoryDefault, toString, unselected, updateProgressHandle, updateProgressHandle, updateProgressHandleAndTakeOwnership, waitForRedirectOutput
public RemoteProcess(Context context)
public java.lang.String getProcessLabelPrefix()
RunProcess
getProcessLabelPrefix
in class RunProcess
public javax.swing.Icon getIcon()
RunProcess
getIcon
in interface Displayable
getIcon
in class RunProcess
public static javax.swing.Icon getDefaultIcon()
public boolean canContainRunProcesses()
RunProcess
canContainRunProcesses
in class RunProcess
public void setToolbar()
public boolean canTerminate()
RunProcess
canTerminate
in class RunProcess
true
if this RunProcess can be terminated.public void terminate()
RunProcess
terminate
in class RunProcess
public void finished()
RunProcess
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.
finished
in class RunProcess