Package jetbrains.buildServer.clouds
Interface CloudClientFactory
-
- All Superinterfaces:
BaseAgentType
,CloudType
,Describable
,ServerExtension
,TeamCityExtension
- All Known Implementing Classes:
DummyCloudClientFactory
,ReadonlyClientFactory
public interface CloudClientFactory extends CloudType
Represents a client object to work with a cloud. Provides with cloud parameters objects and cloud connections.This object is not static but you can threat it's implementation as a singleton. The implementation is semantically stateless.
- Since:
- 5.1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CloudClientEx
createNewClient(CloudState state, CloudClientParameters params)
Creates a new cloud client.-
Methods inherited from interface jetbrains.buildServer.clouds.BaseAgentType
getEditProfileUrl, getInitialParameterValues, getProfileIconUrl, getPropertiesProcessor
-
Methods inherited from interface jetbrains.buildServer.clouds.CloudType
canBeAgentOfType, getCloudCode, getDisplayName, getType, getTypeDescription
-
-
-
-
Method Detail
-
createNewClient
@NotNull CloudClientEx createNewClient(@NotNull CloudState state, @NotNull CloudClientParameters params)
Creates a new cloud client. Always creates a new client instance, doesn't cache instances. Implementation will callCloudClientEx.dispose()
to dispose created client. It is expected from implementation for return new client quick- Parameters:
state
- persistable object to write all plugin-specific stateparams
- parameters- Returns:
- just created new client instance.
-
-