Class CloudClientParametersImpl
- java.lang.Object
-
- jetbrains.buildServer.clouds.CloudClientParameters
-
- jetbrains.buildServer.clouds.server.impl.profile.CloudClientParametersImpl
-
public final class CloudClientParametersImpl extends CloudClientParameters
Cloud client connection parameters.- Since:
- 5.0
-
-
Field Summary
Fields Modifier and Type Field Description static StringSECURE_PROPERTY_PREFIXUse this prefix for property name to have it saved scrambled
-
Constructor Summary
Constructors Constructor Description CloudClientParametersImpl(Map<String,String> params, Collection<CloudImageParameters> cloudImages)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Collection<CloudImageParameters>getCloudImages()StringgetParameter(String name)Fetches parameterMap<String,String>getParameters()StringgetProfileDescription()Returns cloud profile description that is suggested to be used when reporting errors The value is set by the core.StringgetProfileId()inthashCode()Collection<String>listParameterNames()
-
-
-
Field Detail
-
SECURE_PROPERTY_PREFIX
@NonNls public static final String SECURE_PROPERTY_PREFIX
Use this prefix for property name to have it saved scrambled- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CloudClientParametersImpl
public CloudClientParametersImpl(@Nullable Map<String,String> params, @Nullable Collection<CloudImageParameters> cloudImages)
-
-
Method Detail
-
getParameter
@Nullable public String getParameter(@NotNull String name)
Fetches parameter- Specified by:
getParameterin classCloudClientParameters- Parameters:
name- name- Returns:
- parameter value or null
-
listParameterNames
@NotNull public Collection<String> listParameterNames()
- Specified by:
listParameterNamesin classCloudClientParameters- Returns:
- all available parameters
-
getCloudImages
@NotNull public Collection<CloudImageParameters> getCloudImages()
- Specified by:
getCloudImagesin classCloudClientParameters- Returns:
- cloud images parameters defined in the corresponding cloud profile
-
getParameters
@NotNull public Map<String,String> getParameters()
- Specified by:
getParametersin classCloudClientParameters- Returns:
- all parameters in unmodifiableMap
- Since:
- 2017.1
-
getProfileId
@NotNull public String getProfileId()
- Specified by:
getProfileIdin classCloudClientParameters
-
getProfileDescription
@NotNull public String getProfileDescription()
Description copied from class:CloudClientParametersReturns cloud profile description that is suggested to be used when reporting errors The value is set by the core.- Specified by:
getProfileDescriptionin classCloudClientParameters- Returns:
- string description or empty string if there's no description
-
-