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 boolean
equals(Object o)
String
getCloudCode()
String
getDescription()
User's comment for the profile.Collection<CloudImageData>
getImagesParameters()
String
getProfileName()
User defined profile nameMap<String,String>
getProfileProperties()
returns all profile-level properties as immutable mapLong
getTerminateIdleTime()
Time to wait before idle agent is terminatedint
hashCode()
boolean
isEnabled()
Indicates whether the profile is enabledString
profileDescription()
Deprecated.String
toString()
-
-
-
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:
getCloudCode
in interfaceCloudProfileData
- Returns:
- name of the cloud plugin
- See Also:
CloudType.getCloudCode()
-
getProfileName
@NotNull public String getProfileName()
Description copied from interface:CloudProfileData
User defined profile name- Specified by:
getProfileName
in interfaceCloudProfileData
- Returns:
- name.
-
getDescription
@NotNull public String getDescription()
Description copied from interface:CloudProfileData
User's comment for the profile.- Specified by:
getDescription
in interfaceCloudProfileData
- Returns:
- description
-
profileDescription
@NotNull @Deprecated public String profileDescription()
Deprecated.
-
getTerminateIdleTime
@Nullable public Long getTerminateIdleTime()
Description copied from interface:CloudProfileData
Time to wait before idle agent is terminated- Specified by:
getTerminateIdleTime
in interfaceCloudProfileData
- Returns:
- Time to wait before idle agent is terminated
-
getImagesParameters
@NotNull public Collection<CloudImageData> getImagesParameters()
- Specified by:
getImagesParameters
in interfaceCloudProfileData
- Returns:
- list of
CloudImageParameters
for images defined in this profile
-
isEnabled
public boolean isEnabled()
Description copied from interface:CloudProfileData
Indicates whether the profile is enabled- Specified by:
isEnabled
in 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:
getProfileProperties
in interfaceCloudProfileData
- Returns:
- see above
- Since:
- 2017.1
-
-