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 StringCLOUD_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 voidaddGeneratedId(String id, Map<String,String> props)StringnewId(Map<String,String> props)StringshowNextId(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:
newIdin interfaceCachingTypedIdGenerator
-
showNextId
@Nullable public String showNextId(@NotNull Map<String,String> props)
- Specified by:
showNextIdin interfaceCachingTypedIdGenerator
-
addGeneratedId
public void addGeneratedId(@NotNull String id, @NotNull Map<String,String> props)- Specified by:
addGeneratedIdin interfaceCachingTypedIdGenerator
-
-