modules/jdk.packager/src/main/java/com/sun/javafx/tools/packager/DeployParams.java

Print this page

        

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2011, 2017, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation.  Oracle designates this

@@ -66,10 +66,11 @@
     String version;
     Boolean systemWide;
     Boolean serviceHint;
     Boolean signBundle;
     Boolean installdirChooser;
+    Boolean singleton;
 
     String applicationClass;
     String preloader;
 
     List<Param> params;

@@ -178,10 +179,14 @@
 
     public void setInstalldirChooser(Boolean installdirChooser) {
         this.installdirChooser = installdirChooser;
     }
 
+    public void setSingleton(Boolean singleton) {
+        this.singleton = singleton;
+    }
+
     public void setSignBundle(Boolean signBundle) {
         this.signBundle = signBundle;
     }
 
     public void setJRE(String v) {

@@ -684,10 +689,11 @@
         bundleParams.setMenuHint(needMenu);
         putUnlessNull(INSTALL_HINT.getID(), needInstall);
         bundleParams.setSystemWide(systemWide);
         bundleParams.setServiceHint(serviceHint);
         bundleParams.setInstalldirChooser(installdirChooser);
+        bundleParams.setSingleton(singleton);
         bundleParams.setSignBundle(signBundle);
         bundleParams.setCopyright(copyright);
         bundleParams.setApplicationCategory(category);
         bundleParams.setLicenseType(licenseType);
         bundleParams.setDescription(description);