congrats Icon
New! Announcing our next generation AI code completions
Read here
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
  • getResourceAsStream (ClassLoader)
  • getExternalFilesDir (Context)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • Permission (java.security)
    Legacy security code; do not use.
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
  • PhpStorm for WordPress
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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