public class RemoteConfiguration extends ModuleBasedConfiguration<JavaRunConfigurationModule,Element> implements RunConfigurationWithSuppressedDefaultRunAction, RemoteRunProfile
RunConfiguration.RestartSingletonResult
Modifier and Type | Field and Description |
---|---|
boolean |
AUTO_RESTART |
java.lang.String |
HOST |
java.lang.String |
PORT |
boolean |
SERVER_MODE |
java.lang.String |
SHMEM_ADDRESS |
boolean |
USE_SOCKET_TRANSPORT |
TO_CLONE_ELEMENT_NAME
DATA_KEY
Constructor and Description |
---|
RemoteConfiguration(Project project,
ConfigurationFactory configurationFactory) |
Modifier and Type | Method and Description |
---|---|
RemoteConnection |
createRemoteConnection() |
SettingsEditor<? extends RunConfiguration> |
getConfigurationEditor()
Returns the UI control for editing the run configuration settings.
|
RunProfileState |
getState(Executor executor,
ExecutionEnvironment env)
Prepares for executing a specific instance of the run configuration.
|
java.util.Collection<Module> |
getValidModules() |
void |
readExternal(Element element) |
void |
writeExternal(Element element) |
canRestoreOriginalModule, clone, createInstance, getAllModules, getConfigurationModule, getDefaultOptionsClass, getModules, getOptions, getState, isModuleDirMacroSupported, loadState, onNewConfigurationCreated, readModule, restoreOriginalModule, setModule, setModuleName, syncModuleName, writeModule
getActionName, isGeneratedName, setGeneratedName, setNameChangedByUser
addLogFile, addLogFile, addPredefinedLogFile, canRunOn, checkRunnerSettings, checkSettingsBeforeRun, collectOutputFromProcessHandler, createAdditionalTabComponents, customizeLogConsole, equals, excludeCompileBeforeLaunchOption, getAllLogFiles, getBeforeRunTasks, getFactory, getIcon, getLogFiles, getName, getOptionsClass, getOptionsForPredefinedLogFile, getOutputFilePath, getPredefinedLogFiles, getProject, hashCode, isAllowRunningInParallel, isNewSerializationUsed, isSaveOutputToFile, isShowConsoleOnStdErr, isShowConsoleOnStdOut, onConfigurationCopied, removeAllLogFiles, removeAllPredefinedLogFiles, setAllowRunningInParallel, setBeforeRunTasks, setFileOutputPath, setName, setOptionsFromConfigurationFile, setSaveOutputToFile, setShowConsoleOnStdErr, setShowConsoleOnStdOut, toString
changeUserMap, clearUserData, copyCopyableDataTo, copyUserDataTo, getCopyableUserData, getUserData, getUserDataString, getUserMap, isUserDataEmpty, putCopyableUserData, putUserData, putUserDataIfAbsent, replace, setUserMap
finalize, getClass, notify, notifyAll, wait, wait, wait
getIcon, getName
checkConfiguration, createRunnerSettings, getBeforeRunTasks, getFactory, getId, getPresentableType, getProject, getRunnerSettingsEditor, getType, getUniqueID, hideDisabledExecutorButtons, isAllowRunningInParallel, restartSingleton, setAllowRunningInParallel, setBeforeRunTasks, setName
getSearchScope
isBuildBeforeLaunchAddedByDefault, isBuildProjectOnEmptyModuleList, isExcludeCompileBeforeLaunchOption
suggestedName
public boolean USE_SOCKET_TRANSPORT
public boolean SERVER_MODE
public java.lang.String SHMEM_ADDRESS
public java.lang.String HOST
public java.lang.String PORT
public boolean AUTO_RESTART
public RemoteConfiguration(Project project, ConfigurationFactory configurationFactory)
public void writeExternal(Element element) throws WriteExternalException
writeExternal
in interface RunConfiguration
writeExternal
in class ModuleBasedConfiguration<JavaRunConfigurationModule,Element>
WriteExternalException
public void readExternal(Element element) throws InvalidDataException
readExternal
in interface RunConfiguration
readExternal
in class ModuleBasedConfiguration<JavaRunConfigurationModule,Element>
InvalidDataException
public RemoteConnection createRemoteConnection()
public RunProfileState getState(Executor executor, ExecutionEnvironment env) throws ExecutionException
RunProfile
getState
in interface RunProfile
executor
- the execution mode selected by the user (run, debug, profile etc.)env
- the environment object containing additional settings for executing the configuration.ExecutionException
public SettingsEditor<? extends RunConfiguration> getConfigurationEditor()
RunConfiguration
CheckableRunConfigurationEditor
. The returned object
can also implement SettingsEditorGroup
if the settings it provides need to be displayed in
multiple tabs.getConfigurationEditor
in interface RunConfiguration
public java.util.Collection<Module> getValidModules()
getValidModules
in class ModuleBasedConfiguration<JavaRunConfigurationModule,Element>