Class ProjectFeatureDescriptorFactory
- java.lang.Object
-
- jetbrains.buildServer.serverSide.impl.ProjectFeatureDescriptorFactory
-
public class ProjectFeatureDescriptorFactory extends Object
-
-
Constructor Summary
Constructors Constructor Description ProjectFeatureDescriptorFactory(IdGeneratorRegistry idGeneratorRegistry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SProjectFeatureDescriptor
createNewProjectFeature(String type, Map<String,String> params, String projectId)
SProjectFeatureDescriptor
createNewTransientProjectFeature(String id, String type, Map<String,String> params, String projectId)
SProjectFeatureDescriptor
createProjectFeature(String id, String type, Map<String,String> params, String projectId)
String
getNextAvailableFeatureId(String type, Map<String,String> params)
void
registerGenerator(String type, CachingTypedIdGenerator idGenerator)
void
registerStandardGenerator(String type, String prefix)
-
-
-
Constructor Detail
-
ProjectFeatureDescriptorFactory
public ProjectFeatureDescriptorFactory(@NotNull IdGeneratorRegistry idGeneratorRegistry)
-
-
Method Detail
-
registerStandardGenerator
public void registerStandardGenerator(@NotNull String type, @NotNull String prefix)
-
registerGenerator
public void registerGenerator(@NotNull String type, @NotNull CachingTypedIdGenerator idGenerator)
-
createNewProjectFeature
@NotNull public SProjectFeatureDescriptor createNewProjectFeature(@NotNull String type, @NotNull Map<String,String> params, @NotNull String projectId)
-
createNewTransientProjectFeature
@NotNull public SProjectFeatureDescriptor createNewTransientProjectFeature(@NotNull String id, @NotNull String type, @NotNull Map<String,String> params, @NotNull String projectId)
-
getNextAvailableFeatureId
@Nullable public String getNextAvailableFeatureId(@NotNull String type, Map<String,String> params)
-
createProjectFeature
@NotNull public SProjectFeatureDescriptor createProjectFeature(@NotNull String id, @NotNull String type, @NotNull Map<String,String> params, @NotNull String projectId) throws InvalidIdentifierException
- Throws:
InvalidIdentifierException
-
-