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 String
SECURE_PROPERTY_PREFIX
Use 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 boolean
equals(Object o)
Collection<CloudImageParameters>
getCloudImages()
String
getParameter(String name)
Fetches parameterMap<String,String>
getParameters()
String
getProfileDescription()
Returns cloud profile description that is suggested to be used when reporting errors The value is set by the core.String
getProfileId()
int
hashCode()
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:
getParameter
in classCloudClientParameters
- Parameters:
name
- name- Returns:
- parameter value or null
-
listParameterNames
@NotNull public Collection<String> listParameterNames()
- Specified by:
listParameterNames
in classCloudClientParameters
- Returns:
- all available parameters
-
getCloudImages
@NotNull public Collection<CloudImageParameters> getCloudImages()
- Specified by:
getCloudImages
in classCloudClientParameters
- Returns:
- cloud images parameters defined in the corresponding cloud profile
-
getParameters
@NotNull public Map<String,String> getParameters()
- Specified by:
getParameters
in classCloudClientParameters
- Returns:
- all parameters in unmodifiableMap
- Since:
- 2017.1
-
getProfileId
@NotNull public String getProfileId()
- Specified by:
getProfileId
in classCloudClientParameters
-
getProfileDescription
@NotNull public String getProfileDescription()
Description copied from class:CloudClientParameters
Returns cloud profile description that is suggested to be used when reporting errors The value is set by the core.- Specified by:
getProfileDescription
in classCloudClientParameters
- Returns:
- string description or empty string if there's no description
-
-