changeset 2486:9af295714d77

Add bind/unbind methods back to WebStorageLauncherCommand. Review-thread: http://icedtea.classpath.org/pipermail/thermostat/2016-October/021342.html Reviewed-by: aazores
author Jie Kang <jkang@redhat.com>
date Fri, 21 Oct 2016 10:13:01 -0400
parents 97a5c72996b4
children b9375e8979a5
files web/endpoint-plugin/web-service/src/main/java/com/redhat/thermostat/web/endpoint/internal/WebStorageLauncherCommand.java
diffstat 1 files changed, 32 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/web/endpoint-plugin/web-service/src/main/java/com/redhat/thermostat/web/endpoint/internal/WebStorageLauncherCommand.java	Fri Oct 21 10:03:50 2016 -0400
+++ b/web/endpoint-plugin/web-service/src/main/java/com/redhat/thermostat/web/endpoint/internal/WebStorageLauncherCommand.java	Fri Oct 21 10:13:01 2016 -0400
@@ -201,4 +201,36 @@
             getNotifier().fireAction(ApplicationState.FAIL);
         }
     }
+    
+    public void bindCommonPaths(CommonPaths commonPaths) {
+        this.commonPaths = commonPaths;
+    }
+
+    public void bindExitStatus(ExitStatus exitStatus) {
+        this.exitStatus = exitStatus;
+    }
+
+    public void bindLauncher(Launcher launcher) {
+        this.launcher = launcher;
+    }
+
+    public void bindSslConfig(SSLConfiguration sslConfig) {
+        this.sslConfig = sslConfig;
+    }
+
+    public void unbindCommonPaths(CommonPaths commonPaths) {
+        this.commonPaths = null;
+    }
+
+    public void unbindExitStatus(ExitStatus exitStatus) {
+        this.exitStatus = null;
+    }
+
+    public void unbindLauncher(Launcher launcher) {
+        this.launcher = null;
+    }
+
+    public void unbindSslConfig(SSLConfiguration sslConfig) {
+        this.sslConfig = null;
+    }
 }