javadoc (minor)

This commit is contained in:
Dmitry Jemerov
2013-07-29 14:11:03 +02:00
parent 37a064255f
commit f9b396139d
2 changed files with 14 additions and 6 deletions
@@ -22,10 +22,21 @@ import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
/**
* User: anna
* Date: Jan 25, 2005
* Describes a complete persisted run configuration (as displayed in the Run/Debug Configurations dialog), together with runner-specific
* settings.
*
* @author anna
*/
public interface RunnerAndConfigurationSettings {
/**
* Returns the type of the run configuration.
*
* @return the type of the run configuration, or null if the settings object was loaded from disk and no plugin corresponding to the
* stored type of the run configuration is loaded.
*/
@Nullable
ConfigurationType getType();
@Nullable
ConfigurationFactory getFactory();
@@ -45,9 +56,6 @@ public interface RunnerAndConfigurationSettings {
@Nullable
ConfigurationPerRunnerSettings getConfigurationSettings(@NotNull ProgramRunner runner);
@Nullable
ConfigurationType getType();
void checkSettings() throws RuntimeConfigurationException;
void checkSettings(@Nullable Executor executor) throws RuntimeConfigurationException;
@@ -84,7 +84,7 @@ public class RunnerAndConfigurationSettingsImpl implements JDOMExternalizable, C
myManager = manager;
}
public RunnerAndConfigurationSettingsImpl(RunManagerImpl manager, RunConfiguration configuration, boolean isTemplate) {
public RunnerAndConfigurationSettingsImpl(RunManagerImpl manager, @NotNull RunConfiguration configuration, boolean isTemplate) {
myManager = manager;
myConfiguration = configuration;
myIsTemplate = isTemplate;