congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
EnvironmentVariablesComponent.writeExternal
Code IndexAdd Tabnine to your IDE (free)

How to use
writeExternal
method
in
com.intellij.execution.configuration.EnvironmentVariablesComponent

Best Java code snippets using com.intellij.execution.configuration.EnvironmentVariablesComponent.writeExternal (Showing top 4 results out of 315)

origin: go-lang-plugin-org/go-lang-idea-plugin

@Override
public void writeExternal(Element element) throws WriteExternalException {
 super.writeExternal(element);
 writeModule(element);
 addNonEmptyElement(element, WORKING_DIRECTORY_NAME, myWorkingDirectory);
 addNonEmptyElement(element, GO_PARAMETERS_NAME, myGoParams);
 addNonEmptyElement(element, PARAMETERS_NAME, myParams);
 if (!myCustomEnvironment.isEmpty()) {
  EnvironmentVariablesComponent.writeExternal(element, myCustomEnvironment);
 }
 if (!myPassParentEnvironment) {
  JDOMExternalizerUtil.addElementWithValueAttribute(element, PASS_PARENT_ENV, "false");
 }
}
origin: ballerina-platform/ballerina-lang

@Override
public void writeExternal(Element element) throws WriteExternalException {
  super.writeExternal(element);
  writeModule(element);
  addNonEmptyElement(element, WORKING_DIRECTORY_NAME, myWorkingDirectory);
  addNonEmptyElement(element, BALLERINA_PARAMETERS_NAME, myBallerinaParams);
  addNonEmptyElement(element, PARAMETERS_NAME, myParams);
  if (!myCustomEnvironment.isEmpty()) {
    EnvironmentVariablesComponent.writeExternal(element, myCustomEnvironment);
  }
  if (!myPassParentEnvironment) {
    JDOMExternalizerUtil.addElementWithValueAttribute(element, PASS_PARENT_ENV, "false");
  }
}
origin: liias/monkey

@Override
public void writeExternal(Element element) throws WriteExternalException {
 super.writeExternal(element);
 XmlSerializer.serializeInto(this.bean, element, SERIALIZATION_FILTERS);
 EnvironmentVariablesComponent.writeExternal(element, getEnvs());
 writeModule(element);
}
origin: BashSupport/BashSupport

@Override
public void writeExternal(Element element) throws WriteExternalException {
  super.writeExternal(element);
  // common config
  JDOMExternalizerUtil.writeField(element, "INTERPRETER_OPTIONS", interpreterOptions);
  JDOMExternalizerUtil.writeField(element, "INTERPRETER_PATH", interpreterPath);
  JDOMExternalizerUtil.writeField(element, "PROJECT_INTERPRETER", Boolean.toString(useProjectInterpreter));
  JDOMExternalizerUtil.writeField(element, "WORKING_DIRECTORY", workingDirectory);
  JDOMExternalizerUtil.writeField(element, "PARENT_ENVS", Boolean.toString(isPassParentEnvs()));
  // run config
  JDOMExternalizerUtil.writeField(element, "SCRIPT_NAME", scriptName);
  JDOMExternalizerUtil.writeField(element, "PARAMETERS", getProgramParameters());
  //JavaRunConfigurationExtensionManager.getInstance().writeExternal(this, element);
  DefaultJDOMExternalizer.writeExternal(this, element);
  writeModule(element);
  EnvironmentVariablesComponent.writeExternal(element, getEnvs());
  PathMacroManager.getInstance(getProject()).collapsePathsRecursively(element);
}
com.intellij.execution.configurationEnvironmentVariablesComponentwriteExternal

Popular methods of EnvironmentVariablesComponent

  • readExternal
  • getEnvs
  • setEnvs

Popular in Java

  • Making http requests using okhttp
  • addToBackStack (FragmentTransaction)
  • getSharedPreferences (Context)
  • getExternalFilesDir (Context)
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • SSLHandshakeException (javax.net.ssl)
    The exception that is thrown when a handshake could not be completed successfully.
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
  • Top PhpStorm plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now