Class CloudProfileIdGenerator
- java.lang.Object
-
- jetbrains.buildServer.clouds.server.impl.profile.CloudProfileIdGenerator
-
- All Implemented Interfaces:
CachingTypedIdGenerator
public class CloudProfileIdGenerator extends Object implements CachingTypedIdGenerator
Generates profile id Created by sergeypak on 18/11/2016.
-
-
Field Summary
Fields Modifier and Type Field Description static String
CLOUD_PROFILE_IDX_FOLDER
-
Constructor Summary
Constructors Constructor Description CloudProfileIdGenerator(ServerPaths serverPaths, ProjectFeatureDescriptorFactory featureDescriptorFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addGeneratedId(String id, Map<String,String> props)
String
newId(Map<String,String> props)
String
showNextId(Map<String,String> props)
-
-
-
Field Detail
-
CLOUD_PROFILE_IDX_FOLDER
public static final String CLOUD_PROFILE_IDX_FOLDER
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CloudProfileIdGenerator
public CloudProfileIdGenerator(@NotNull ServerPaths serverPaths, @NotNull ProjectFeatureDescriptorFactory featureDescriptorFactory)
-
-
Method Detail
-
newId
@Nullable public String newId(Map<String,String> props)
- Specified by:
newId
in interfaceCachingTypedIdGenerator
-
showNextId
@Nullable public String showNextId(@NotNull Map<String,String> props)
- Specified by:
showNextId
in interfaceCachingTypedIdGenerator
-
addGeneratedId
public void addGeneratedId(@NotNull String id, @NotNull Map<String,String> props)
- Specified by:
addGeneratedId
in interfaceCachingTypedIdGenerator
-
-