2 * Copyright 2000-2009 JetBrains s.r.o.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
16 package com.intellij.execution.configurations;
18 import com.intellij.openapi.extensions.ExtensionPointName;
19 import org.jetbrains.annotations.Nls;
20 import com.intellij.openapi.project.PossiblyDumbAware;
21 import org.jetbrains.annotations.NonNls;
22 import org.jetbrains.annotations.NotNull;
27 * The type of a run configuration.
29 * @see ConfigurationTypeBase
31 public interface ConfigurationType extends PossiblyDumbAware {
33 ExtensionPointName<ConfigurationType> CONFIGURATION_TYPE_EP = ExtensionPointName.create("com.intellij.configurationType");
36 * Returns the display name of the configuration type. This is used, for example, to represent the configuration type in the run
37 * configurations tree, and also as the name of the action used to create the configuration.
39 * @return the display name of the configuration type.
42 String getDisplayName();
45 * Returns the description of the configuration type. You may return the same text as the display name of the configuration type.
47 * @return the description of the configuration type.
50 String getConfigurationTypeDescription();
53 * Returns the 16x16 icon used to represent the configuration type.
60 * Returns the ID of the configuration type. The ID is used to store run configuration settings in a project or workspace file and
61 * must not change between plugin versions.
63 * @return the configuration type ID.
69 * Returns the configuration factories used by this configuration type. Normally each configuration type provides just a single factory.
70 * You can return multiple factories if your configurations can be created in multiple variants (for example, local and remote for an
71 * application server).
73 * @return the run configuration factories.
75 ConfigurationFactory[] getConfigurationFactories();
78 default boolean isDumbAware() {