Class ProjectSettingsGeneratorRegistryImpl
- java.lang.Object
-
- jetbrains.buildServer.serverSide.impl.versionedSettings.ProjectSettingsGeneratorRegistryImpl
-
- All Implemented Interfaces:
ProjectSettingsGeneratorRegistry
public class ProjectSettingsGeneratorRegistryImpl extends Object implements ProjectSettingsGeneratorRegistry
-
-
Field Summary
-
Fields inherited from interface jetbrains.buildServer.serverSide.impl.versionedSettings.ProjectSettingsGeneratorRegistry
KOTLIN_FORMAT
-
-
Constructor Summary
Constructors Constructor Description ProjectSettingsGeneratorRegistryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProjectSettingsGenerator
findGenerator(String format)
ProjectSettingsGenerator
getDefaultGenerator()
Collection<ProjectSettingsGenerator>
getGenerators()
Returns all registered generatorsvoid
register(ProjectSettingsGenerator generator)
void
unregister(ProjectSettingsGenerator generator)
-
-
-
Method Detail
-
findGenerator
@Nullable public ProjectSettingsGenerator findGenerator(@NotNull String format)
- Specified by:
findGenerator
in interfaceProjectSettingsGeneratorRegistry
-
getDefaultGenerator
@NotNull public ProjectSettingsGenerator getDefaultGenerator()
- Specified by:
getDefaultGenerator
in interfaceProjectSettingsGeneratorRegistry
- Returns:
- default project settings generator (see
ProjectSettingsGenerator.isCustomFormat()
)
-
getGenerators
@NotNull public Collection<ProjectSettingsGenerator> getGenerators()
Description copied from interface:ProjectSettingsGeneratorRegistry
Returns all registered generators- Specified by:
getGenerators
in interfaceProjectSettingsGeneratorRegistry
- Returns:
- see above
-
unregister
public void unregister(@NotNull ProjectSettingsGenerator generator)
-
register
public void register(@NotNull ProjectSettingsGenerator generator)
- Specified by:
register
in interfaceProjectSettingsGeneratorRegistry
-
-