public abstract class JavaTestConfigurationBase extends ModuleBasedConfiguration<JavaRunConfigurationModule,Element> implements CommonJavaRunConfigurationParameters, ConfigurationWithCommandLineShortener, RefactoringListenerProvider, SMRunnerConsolePropertiesProvider, TargetEnvironmentAwareRunProfile
RunConfiguration.RestartSingletonResultTO_CLONE_ELEMENT_NAMEDATA_KEY| Constructor and Description | 
|---|
| JavaTestConfigurationBase(JavaRunConfigurationModule configurationModule,
                         ConfigurationFactory factory) | 
| JavaTestConfigurationBase(java.lang.String name,
                         JavaRunConfigurationModule configurationModule,
                         ConfigurationFactory factory) | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract void | beClassConfiguration(PsiClass aClass) | 
| abstract void | beMethodConfiguration(Location<PsiMethod> location) | 
| abstract void | bePatternConfiguration(java.util.List<PsiClass> classes,
                      PsiMethod method) | 
| boolean | canRunOn(TargetEnvironmentConfiguration target)Checks if this configuration supports running on the provided target (see  ExecutionTargetfor details). | 
| <any> | getDefaultLanguageRuntimeType()Returns language runtime type that should be configured for  TargetEnvironmentConfigurationif it's
 created for this particular run configuration. | 
| java.lang.String | getDefaultTargetName() | 
| ShortenCommandLine | getShortenCommandLine() | 
| abstract JavaTestFrameworkRunnableState<? extends JavaTestConfigurationBase> | getState(Executor executor,
        ExecutionEnvironment environment)Prepares for executing a specific instance of the run configuration. | 
| abstract TestSearchScope | getTestSearchScope() | 
| abstract java.lang.String | getTestType() | 
| abstract boolean | isConfiguredByElement(PsiElement element) | 
| boolean | isUseModulePath() | 
| java.lang.String | prepareParameterizedParameter(java.lang.String paramSetName) | 
| void | readExternal(Element element) | 
| void | setDefaultTargetName(java.lang.String targetName) | 
| abstract void | setSearchScope(TestSearchScope searchScope) | 
| void | setShortenCommandLine(ShortenCommandLine shortenCommandLine)Called from UI, when user explicitly selects method to be used to shorten the command line or from the deserialization | 
| void | setUseModulePath(boolean useModulePath) | 
| void | writeExternal(Element element) | 
canRestoreOriginalModule, clone, createInstance, getAllModules, getConfigurationModule, getDefaultOptionsClass, getModules, getOptions, getState, getValidModules, isModuleDirMacroSupported, loadState, onNewConfigurationCreated, readModule, restoreOriginalModule, setModule, setModuleName, syncModuleName, writeModulegetActionName, isGeneratedName, setGeneratedName, setNameChangedByUseraddLogFile, addLogFile, addPredefinedLogFile, 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, waitgetAlternativeJrePath, getPackage, getRunClass, getVMParameters, isAlternativeJrePathEnabled, setAlternativeJrePath, setAlternativeJrePathEnabled, setVMParametersgetEnvs, getProgramParameters, getProject, getWorkingDirectory, isPassParentEnvs, setEnvs, setPassParentEnvs, setProgramParameters, setWorkingDirectorygetProjectgetRefactoringElementListenercreateTestConsolePropertiesgetIcon, getNamecheckConfiguration, createRunnerSettings, getBeforeRunTasks, getConfigurationEditor, getFactory, getId, getPresentableType, getProject, getRunnerSettingsEditor, getType, getUniqueID, hideDisabledExecutorButtons, isAllowRunningInParallel, restartSingleton, setAllowRunningInParallel, setBeforeRunTasks, setNamegetSearchScopeisBuildBeforeLaunchAddedByDefault, isBuildProjectOnEmptyModuleList, isExcludeCompileBeforeLaunchOptionsuggestedNamepublic JavaTestConfigurationBase(java.lang.String name,
                                 JavaRunConfigurationModule configurationModule,
                                 ConfigurationFactory factory)
public JavaTestConfigurationBase(JavaRunConfigurationModule configurationModule, ConfigurationFactory factory)
public abstract void bePatternConfiguration(java.util.List<PsiClass> classes, PsiMethod method)
public abstract void beClassConfiguration(PsiClass aClass)
public abstract boolean isConfiguredByElement(PsiElement element)
public abstract java.lang.String getTestType()
public java.lang.String prepareParameterizedParameter(java.lang.String paramSetName)
public abstract TestSearchScope getTestSearchScope()
public abstract void setSearchScope(TestSearchScope searchScope)
public abstract JavaTestFrameworkRunnableState<? extends JavaTestConfigurationBase> getState(Executor executor, ExecutionEnvironment environment) throws ExecutionException
RunProfilegetState in interface RunProfileexecutor - the execution mode selected by the user (run, debug, profile etc.)environment - the environment object containing additional settings for executing the configuration.ExecutionExceptionpublic ShortenCommandLine getShortenCommandLine()
getShortenCommandLine in interface ConfigurationWithCommandLineShortenerpublic void setShortenCommandLine(ShortenCommandLine shortenCommandLine)
ConfigurationWithCommandLineShortenersetShortenCommandLine in interface ConfigurationWithCommandLineShortenerpublic void readExternal(Element element)
                  throws InvalidDataException
readExternal in interface RunConfigurationreadExternal in class ModuleBasedConfiguration<JavaRunConfigurationModule,Element>InvalidDataExceptionpublic void writeExternal(Element element)
                   throws WriteExternalException
writeExternal in interface RunConfigurationwriteExternal in class ModuleBasedConfiguration<JavaRunConfigurationModule,Element>WriteExternalExceptionpublic boolean isUseModulePath()
public void setUseModulePath(boolean useModulePath)
public boolean canRunOn(TargetEnvironmentConfiguration target)
TargetAwareRunProfileExecutionTarget for details).canRunOn in interface TargetAwareRunProfilecanRunOn in interface TargetEnvironmentAwareRunProfilecanRunOn in class RunConfigurationBase<Element>target - target provided by ExecutionTargetProviderpublic <any> getDefaultLanguageRuntimeType()
TargetEnvironmentAwareRunProfileTargetEnvironmentConfiguration if it's
 created for this particular run configuration.
 
 That language runtime type will be used while creating TargetEnvironmentConfiguration using
 wizard from RunOnTargetComboBox
getDefaultLanguageRuntimeType in interface TargetEnvironmentAwareRunProfileTargetEnvironmentType#createStepsForNewWizardpublic java.lang.String getDefaultTargetName()
getDefaultTargetName in interface TargetEnvironmentAwareRunProfileTargetEnvironmentConfiguration#getDisplayName()public void setDefaultTargetName(java.lang.String targetName)
setDefaultTargetName in interface TargetEnvironmentAwareRunProfile