本文整理汇总了Java中com.intellij.openapi.util.JDOMExternalizer.readMap方法的典型用法代码示例。如果您正苦于以下问题:Java JDOMExternalizer.readMap方法的具体用法?Java JDOMExternalizer.readMap怎么用?Java JDOMExternalizer.readMap使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类com.intellij.openapi.util.JDOMExternalizer
的用法示例。
在下文中一共展示了JDOMExternalizer.readMap方法的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: readExternal
import com.intellij.openapi.util.JDOMExternalizer; //导入方法依赖的package包/类
@Override
public void readExternal(Element element) throws InvalidDataException {
PathMacroManager.getInstance(getProject()).expandPaths(element);
super.readExternal(element);
readModule(element);
vmParams = JDOMExternalizer.readString(element, "vmparams");
cmdLine = JDOMExternalizer.readString(element, "cmdLine");
String sPassParentEnviroment = JDOMExternalizer.readString(element, "passParentEnv");
passParentEnv = StringUtil.isEmpty(sPassParentEnviroment) || Boolean.parseBoolean(sPassParentEnviroment);
envs.clear();
JDOMExternalizer.readMap(element, envs, null, "env");
JavaRunConfigurationExtensionManager.getInstance().readExternal(this, element);
depsClasspath = !"false".equals(JDOMExternalizer.readString(element, "depsClasspath"));
}
示例2: readExternal
import com.intellij.openapi.util.JDOMExternalizer; //导入方法依赖的package包/类
@Override
public void readExternal(Element element) throws InvalidDataException {
PathMacroManager.getInstance(getProject()).expandPaths(element);
super.readExternal(element);
readModule(element);
scriptPath = ExternalizablePath.localPathValue(JDOMExternalizer.readString(element, "path"));
vmParams = JDOMExternalizer.readString(element, "vmparams");
scriptParams = JDOMExternalizer.readString(element, "params");
final String wrk = JDOMExternalizer.readString(element, "workDir");
if (!".".equals(wrk)) {
workDir = ExternalizablePath.localPathValue(wrk);
}
isDebugEnabled = Boolean.parseBoolean(JDOMExternalizer.readString(element, "debug"));
envs.clear();
JDOMExternalizer.readMap(element, envs, null, "env");
}
示例3: readExternal
import com.intellij.openapi.util.JDOMExternalizer; //导入方法依赖的package包/类
@Override
public void readExternal(Element element) throws InvalidDataException {
super.readExternal(element);
environment = JDOMExternalizer.readString(element, "environment");
specsToExecute = JDOMExternalizer.readString(element, "specsToExecute");
tags = JDOMExternalizer.readString(element, "tags");
parallelNodes = JDOMExternalizer.readString(element, "parallelNodes");
execInParallel = JDOMExternalizer.readBoolean(element, "execInParallel");
programParameters.setProgramParameters(JDOMExternalizer.readString(element, "programParameters"));
programParameters.setWorkingDirectory(JDOMExternalizer.readString(element, "workingDirectory"));
this.moduleName = JDOMExternalizer.readString(element, "moduleName");
HashMap<String, String> envMap = new HashMap<>();
JDOMExternalizer.readMap(element, envMap, "envMap", "envMap");
programParameters.setEnvs(envMap);
rowsRange = JDOMExternalizer.readString(element, "rowsRange");
}
示例4: readExternal
import com.intellij.openapi.util.JDOMExternalizer; //导入方法依赖的package包/类
public void readExternal(Element element) throws InvalidDataException {
PathMacroManager.getInstance(getProject()).expandPaths(element);
super.readExternal(element);
readModule(element);
vmParams = JDOMExternalizer.readString(element, "vmparams");
cmdLine = JDOMExternalizer.readString(element, "cmdLine");
String sPassParentEnviroment = JDOMExternalizer.readString(element, "passParentEnv");
passParentEnv = StringUtil.isEmpty(sPassParentEnviroment) ? true : Boolean.parseBoolean(sPassParentEnviroment);
envs.clear();
JDOMExternalizer.readMap(element, envs, null, "env");
JavaRunConfigurationExtensionManager.getInstance().readExternal(this, element);
depsClasspath = !"false".equals(JDOMExternalizer.readString(element, "depsClasspath"));
}
示例5: readExternalImpl
import com.intellij.openapi.util.JDOMExternalizer; //导入方法依赖的package包/类
protected void readExternalImpl(Element e) {
if (e.getAttribute("injector-id") == null) {
setClassName(JDOMExternalizer.readString(e, "CLASS"));
//setApplyInHierarchy(JDOMExternalizer.readBoolean(e, "APPLY_IN_HIERARCHY"));
readOldFormat(e);
final THashMap<String, String> map = new THashMap<String, String>();
JDOMExternalizer.readMap(e, map, null, "SIGNATURES");
for (String s : map.keySet()) {
final String fixedSignature = fixSignature(s, false);
myParameterMap.put(fixedSignature, new MethodInfo(fixedSignature, map.get(s)));
}
}
}
示例6: readExternal
import com.intellij.openapi.util.JDOMExternalizer; //导入方法依赖的package包/类
public void readExternal(Element element) throws InvalidDataException {
PathMacroManager.getInstance(getProject()).expandPaths(element);
super.readExternal(element);
readModule(element);
scriptPath = ExternalizablePath.localPathValue(JDOMExternalizer.readString(element, "path"));
vmParams = JDOMExternalizer.readString(element, "vmparams");
scriptParams = JDOMExternalizer.readString(element, "params");
final String wrk = JDOMExternalizer.readString(element, "workDir");
if (!".".equals(wrk)) {
workDir = ExternalizablePath.localPathValue(wrk);
}
isDebugEnabled = Boolean.parseBoolean(JDOMExternalizer.readString(element, "debug"));
envs.clear();
JDOMExternalizer.readMap(element, envs, null, "env");
}