public final class DeployToServerConfigurationType.SingletonTypeConfigurationFactory extends DeployToServerConfigurationType.DeployToServerConfigurationFactory
EMPTY_ARRAY
Constructor and Description |
---|
SingletonTypeConfigurationFactory(SingletonDeploymentSourceType sourceType) |
Modifier and Type | Method and Description |
---|---|
DeployToServerRunConfiguration |
createTemplateConfiguration(Project project)
Creates a new template run configuration within the context of the specified project.
|
java.lang.String |
getId()
Returns the id of the run configuration that is used for serialization.
|
java.lang.String |
getName()
The name of the run configuration variant created by this factory.
|
isApplicable
onConfigurationCopied, onNewConfigurationCreated
canConfigurationBeSingleton, configureBeforeRunTaskDefaults, createConfiguration, createTemplateConfiguration, getAddIcon, getIcon, getIcon, getOptionsClass, getSingletonPolicy, getType, isConfigurationSingletonByDefault
public SingletonTypeConfigurationFactory(SingletonDeploymentSourceType sourceType)
public java.lang.String getId()
ConfigurationFactory
ConfigurationFactory.getName()
and this may cause problems if ConfigurationFactory.getName()
returns localized value. So the default implementation
must be overriden in all inheritors. In existing implementations you need to use the same value which is returned
by ConfigurationFactory.getName()
for compatibility but store it directly in the code instead of taking from a message bundle. For new configurations
you may use any unique ID; if a new ConfigurationType
has a single ConfigurationFactory
, use SimpleConfigurationType
instead.getId
in class ConfigurationFactory
public java.lang.String getName()
ConfigurationFactory
getName
in class ConfigurationFactory
public DeployToServerRunConfiguration createTemplateConfiguration(Project project)
ConfigurationFactory
createTemplateConfiguration
in class DeployToServerConfigurationType.DeployToServerConfigurationFactory
project
- the project in which the run configuration will be used