Class DummyCloudClientFactory

    • Constructor Detail

      • DummyCloudClientFactory

        public DummyCloudClientFactory()
    • Method Detail

      • createNewClient

        @NotNull
        public CloudClientEx createNewClient​(@NotNull
                                             CloudState state,
                                             @NotNull
                                             CloudClientParameters params)
        Description copied from interface: CloudClientFactory
        Creates a new cloud client. Always creates a new client instance, doesn't cache instances. Implementation will call CloudClientEx.dispose() to dispose created client. It is expected from implementation for return new client quick
        Specified by:
        createNewClient in interface CloudClientFactory
        Parameters:
        state - persistable object to write all plugin-specific state
        params - parameters
        Returns:
        just created new client instance.
      • getCloudCode

        @NotNull
        public String getCloudCode()
        Description copied from interface: CloudType
        The formal name of the cloud type. This is used to identify cloud implementations inside.
        Specified by:
        getCloudCode in interface CloudType
        Returns:
        cloud name
      • canBeAgentOfType

        public boolean canBeAgentOfType​(@NotNull
                                        AgentDescription description)
        Description copied from interface: CloudType
        Checks it the agent could be an instance of one of the running profiles. This method is called to check weather it is needed to open connection for a cloud profiles of that type to check if the agent is started from a cloud profiles of that type.
        Specified by:
        canBeAgentOfType in interface CloudType
        Parameters:
        description - agent info to check
        Returns:
        true if this agent could be an instance of that cloud type