public class JavaParametersUtil
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
checkAlternativeJRE(CommonJavaRunConfigurationParameters configuration) |
static void |
checkAlternativeJRE(java.lang.String jrePath) |
static void |
configureConfiguration(SimpleJavaParameters parameters,
CommonJavaRunConfigurationParameters configuration) |
static void |
configureModule(Module module,
JavaParameters parameters,
int classPathType,
java.lang.String jreHome) |
static void |
configureModule(RunConfigurationModule runConfigurationModule,
JavaParameters parameters,
int classPathType,
java.lang.String jreHome) |
static void |
configureProject(Project project,
JavaParameters parameters,
int classPathType,
java.lang.String jreHome) |
static Sdk |
createModuleJdk(Module module,
boolean productionOnly,
java.lang.String jreHome) |
static Sdk |
createProjectJdk(Project project,
java.lang.String jreHome) |
static int |
getClasspathType(RunConfigurationModule configurationModule,
java.lang.String mainClassName,
boolean classMustHaveSource) |
static int |
getClasspathType(RunConfigurationModule configurationModule,
java.lang.String mainClassName,
boolean classMustHaveSource,
boolean includeProvidedDependencies) |
static DefaultJDOMExternalizer.JDOMFilter |
getFilter(CommonJavaRunConfigurationParameters parameters) |
static java.lang.Boolean |
isClassInProductionSources(java.lang.String mainClassName,
Module module) |
public static void configureConfiguration(SimpleJavaParameters parameters, CommonJavaRunConfigurationParameters configuration)
public static int getClasspathType(RunConfigurationModule configurationModule, java.lang.String mainClassName, boolean classMustHaveSource) throws CantRunException
CantRunException
public static int getClasspathType(RunConfigurationModule configurationModule, java.lang.String mainClassName, boolean classMustHaveSource, boolean includeProvidedDependencies) throws CantRunException
CantRunException
public static java.lang.Boolean isClassInProductionSources(java.lang.String mainClassName, Module module)
public static void configureModule(RunConfigurationModule runConfigurationModule, JavaParameters parameters, int classPathType, java.lang.String jreHome) throws CantRunException
CantRunException
public static void configureModule(Module module, JavaParameters parameters, int classPathType, java.lang.String jreHome) throws CantRunException
CantRunException
public static void configureProject(Project project, JavaParameters parameters, int classPathType, java.lang.String jreHome) throws CantRunException
CantRunException
public static Sdk createModuleJdk(Module module, boolean productionOnly, java.lang.String jreHome) throws CantRunException
CantRunException
public static Sdk createProjectJdk(Project project, java.lang.String jreHome) throws CantRunException
CantRunException
public static void checkAlternativeJRE(CommonJavaRunConfigurationParameters configuration) throws RuntimeConfigurationWarning
RuntimeConfigurationWarning
public static void checkAlternativeJRE(java.lang.String jrePath) throws RuntimeConfigurationWarning
RuntimeConfigurationWarning
public static DefaultJDOMExternalizer.JDOMFilter getFilter(CommonJavaRunConfigurationParameters parameters)