Class CloudProfileDataImpl
- java.lang.Object
-
- jetbrains.buildServer.clouds.server.impl.profile.CloudProfileDataImpl
-
- All Implemented Interfaces:
CloudProfileData
public class CloudProfileDataImpl extends Object implements CloudProfileData
-
-
Constructor Summary
Constructors Constructor Description CloudProfileDataImpl(String cloudCode, String name, String description, Long terminateIdleTime, boolean enabled, Map<String,String> customProfileProperties, Collection<? extends CloudImageData> cloudImages)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(Object o)StringgetCloudCode()StringgetDescription()User's comment for the profile.Collection<CloudImageData>getImagesParameters()StringgetProfileName()User defined profile nameMap<String,String>getProfileProperties()returns all profile-level properties as immutable mapLonggetTerminateIdleTime()Time to wait before idle agent is terminatedinthashCode()booleanisEnabled()Indicates whether the profile is enabledStringprofileDescription()Deprecated.StringtoString()
-
-
-
Constructor Detail
-
CloudProfileDataImpl
public CloudProfileDataImpl(@NotNull String cloudCode, @NotNull String name, @NotNull String description, @Nullable Long terminateIdleTime, boolean enabled, @NotNull Map<String,String> customProfileProperties, @NotNull Collection<? extends CloudImageData> cloudImages)
-
-
Method Detail
-
getCloudCode
@NotNull public String getCloudCode()
- Specified by:
getCloudCodein interfaceCloudProfileData- Returns:
- name of the cloud plugin
- See Also:
CloudType.getCloudCode()
-
getProfileName
@NotNull public String getProfileName()
Description copied from interface:CloudProfileDataUser defined profile name- Specified by:
getProfileNamein interfaceCloudProfileData- Returns:
- name.
-
getDescription
@NotNull public String getDescription()
Description copied from interface:CloudProfileDataUser's comment for the profile.- Specified by:
getDescriptionin interfaceCloudProfileData- Returns:
- description
-
profileDescription
@NotNull @Deprecated public String profileDescription()
Deprecated.
-
getTerminateIdleTime
@Nullable public Long getTerminateIdleTime()
Description copied from interface:CloudProfileDataTime to wait before idle agent is terminated- Specified by:
getTerminateIdleTimein interfaceCloudProfileData- Returns:
- Time to wait before idle agent is terminated
-
getImagesParameters
@NotNull public Collection<CloudImageData> getImagesParameters()
- Specified by:
getImagesParametersin interfaceCloudProfileData- Returns:
- list of
CloudImageParametersfor images defined in this profile
-
isEnabled
public boolean isEnabled()
Description copied from interface:CloudProfileDataIndicates whether the profile is enabled- Specified by:
isEnabledin interfaceCloudProfileData- Returns:
- true, when profile is enabled. False otherwise
-
getProfileProperties
@NotNull public Map<String,String> getProfileProperties()
returns all profile-level properties as immutable map- Specified by:
getProfilePropertiesin interfaceCloudProfileData- Returns:
- see above
- Since:
- 2017.1
-
-