Class DummyCloudImage

    • Constructor Detail

      • DummyCloudImage

        public DummyCloudImage()
    • Method Detail

      • getId

        @NotNull
        public String getId()
        Description copied from interface: CloudImage
        Returns the identifier of this image, in the vendor-specific form.
        Images with different ids are considered different images.

        Must be unique within the profile.
        Specified by:
        getId in interface CloudImage
        Returns:
        image identifier.
      • getName

        @NotNull
        public String getName()
        Specified by:
        getName in interface CloudImage
        Returns:
        human readable image name
      • getInstances

        @NotNull
        public Collection<? extends CloudInstance> getInstances()
        Description copied from interface: CloudImage
        Returns all instances of the image. The method should either return an unmodifiable snapshot of the instances or a thread-safe collection.
        Specified by:
        getInstances in interface CloudImage
        Returns:
        instances
      • getAgentPoolId

        @Nullable
        public Integer getAgentPoolId()
        Description copied from interface: CloudImage
        Internal agent pool id associated with this cloud image.
        If this feature is not implemented, the function must return null.
        Must use CloudImageData.getAgentPoolId() if returns non-null value.
        Specified by:
        getAgentPoolId in interface CloudImage
        Returns:
        internal pool id
      • getErrorInfo

        @Nullable
        public CloudErrorInfo getErrorInfo()
        Description copied from interface: CloudErrorProvider
        Returns error information of there was an error. If not null value is returned, object is treated as errorneous, and will not be used. Returned error description will be shown in the IU. Object may change the returned value to null to indicate correct state.
        Specified by:
        getErrorInfo in interface CloudErrorProvider
        Returns:
        error info or null