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_NAMEDATA_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, writeModulegetActionName, isGeneratedName, setGeneratedName, setNameChangedByUseraddLogFile, 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, toStringchangeUserMap, clearUserData, copyCopyableDataTo, copyUserDataTo, getCopyableUserData, getUserData, getUserDataString, getUserMap, isUserDataEmpty, putCopyableUserData, putUserData, putUserDataIfAbsent, replace, setUserMapfinalize, getClass, notify, notifyAll, wait, wait, waitgetIcon, getNamecheckConfiguration, createRunnerSettings, getBeforeRunTasks, getFactory, getId, getPresentableType, getProject, getRunnerSettingsEditor, getType, getUniqueID, hideDisabledExecutorButtons, isAllowRunningInParallel, restartSingleton, setAllowRunningInParallel, setBeforeRunTasks, setNamegetSearchScopeisBuildBeforeLaunchAddedByDefault, isBuildProjectOnEmptyModuleList, isExcludeCompileBeforeLaunchOptionsuggestedNamepublic 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 RunConfigurationwriteExternal in class ModuleBasedConfiguration<JavaRunConfigurationModule,Element>WriteExternalExceptionpublic void readExternal(Element element)
throws InvalidDataException
readExternal in interface RunConfigurationreadExternal in class ModuleBasedConfiguration<JavaRunConfigurationModule,Element>InvalidDataExceptionpublic RemoteConnection createRemoteConnection()
public RunProfileState getState(Executor executor, ExecutionEnvironment env) throws ExecutionException
RunProfilegetState in interface RunProfileexecutor - the execution mode selected by the user (run, debug, profile etc.)env - the environment object containing additional settings for executing the configuration.ExecutionExceptionpublic SettingsEditor<? extends RunConfiguration> getConfigurationEditor()
RunConfigurationCheckableRunConfigurationEditor. The returned object
can also implement SettingsEditorGroup if the settings it provides need to be displayed in
multiple tabs.getConfigurationEditor in interface RunConfigurationpublic java.util.Collection<Module> getValidModules()
getValidModules in class ModuleBasedConfiguration<JavaRunConfigurationModule,Element>