Class SpringCloudDeployment

  • All Implemented Interfaces:
    com.microsoft.azure.toolkit.lib.common.model.AzResource, com.microsoft.azure.toolkit.lib.common.model.Refreshable, com.microsoft.azure.toolkit.lib.servicelinker.ServiceLinkerConsumer
    Direct Known Subclasses:
    SpringCloudDeploymentDraft

    public class SpringCloudDeployment
    extends com.microsoft.azure.toolkit.lib.common.model.AbstractAzResource<SpringCloudDeployment,​SpringCloudApp,​com.azure.resourcemanager.appplatform.models.SpringAppDeployment>
    implements com.microsoft.azure.toolkit.lib.servicelinker.ServiceLinkerConsumer
    • Field Detail

      • linkerModule

        private final com.microsoft.azure.toolkit.lib.servicelinker.ServiceLinkerModule linkerModule
      • remoteDebuggingEnabled

        private boolean remoteDebuggingEnabled
    • Method Detail

      • start

        public void start()
      • stop

        public void stop()
      • restart

        public void restart()
      • loadStatus

        @Nonnull
        public String loadStatus​(@Nonnull
                                 com.azure.resourcemanager.appplatform.models.SpringAppDeployment remote)
        Specified by:
        loadStatus in class com.microsoft.azure.toolkit.lib.common.model.AbstractAzResource<SpringCloudDeployment,​SpringCloudApp,​com.azure.resourcemanager.appplatform.models.SpringAppDeployment>
      • getSubModules

        @Nonnull
        public List<com.microsoft.azure.toolkit.lib.common.model.AbstractAzResourceModule<?,​?,​?>> getSubModules()
        Specified by:
        getSubModules in class com.microsoft.azure.toolkit.lib.common.model.AbstractAzResource<SpringCloudDeployment,​SpringCloudApp,​com.azure.resourcemanager.appplatform.models.SpringAppDeployment>
      • updateAdditionalProperties

        protected void updateAdditionalProperties​(com.azure.resourcemanager.appplatform.models.SpringAppDeployment newRemote,
                                                  com.azure.resourcemanager.appplatform.models.SpringAppDeployment oldRemote)
        Overrides:
        updateAdditionalProperties in class com.microsoft.azure.toolkit.lib.common.model.AbstractAzResource<SpringCloudDeployment,​SpringCloudApp,​com.azure.resourcemanager.appplatform.models.SpringAppDeployment>
      • waitUntilReady

        public boolean waitUntilReady​(int timeoutInSeconds)
      • setStatus

        public void setStatus​(@Nonnull
                              String status)
        Overrides:
        setStatus in class com.microsoft.azure.toolkit.lib.common.model.AbstractAzResource<SpringCloudDeployment,​SpringCloudApp,​com.azure.resourcemanager.appplatform.models.SpringAppDeployment>
      • enableRemoteDebugging

        public void enableRemoteDebugging​(int port)
      • disableRemoteDebugging

        public void disableRemoteDebugging()
      • isRemoteDebuggingEnabled

        public boolean isRemoteDebuggingEnabled()
      • getRemoteDebuggingPort

        public int getRemoteDebuggingPort()
      • validateRemoteDebuggingSupport

        private void validateRemoteDebuggingSupport()
      • isRemoteDebuggingSupported

        private boolean isRemoteDebuggingSupported()
      • getServiceLinkerModule

        public com.microsoft.azure.toolkit.lib.servicelinker.ServiceLinkerModule getServiceLinkerModule()
        Specified by:
        getServiceLinkerModule in interface com.microsoft.azure.toolkit.lib.servicelinker.ServiceLinkerConsumer