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

Print this page




  14  * version 2 for more details (a copy is included in the LICENSE file that
  15  * accompanied this code).
  16  *
  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 package com.sun.javafx.tools.packager;
  27 
  28 import com.sun.javafx.tools.resource.PackagerResource;
  29 
  30 import java.io.File;
  31 import java.util.ArrayList;
  32 import java.util.List;
  33 




  34 public class SignJarParams extends CommonParams {
  35 
  36     final List<PackagerResource> resources = new ArrayList<PackagerResource>();
  37 
  38     File keyStore;
  39     String alias;
  40     String storePass;
  41     String keyPass;
  42     String storeType = "jks";
  43     Boolean verbose = false;
  44 
  45     public void setVerbose(boolean v) {
  46         verbose = v;
  47     }
  48 
  49     public void setAlias(String alias) {
  50         this.alias = alias;
  51     }
  52 
  53     public void setKeyPass(String keyPass) {




  14  * version 2 for more details (a copy is included in the LICENSE file that
  15  * accompanied this code).
  16  *
  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 package com.sun.javafx.tools.packager;
  27 
  28 import com.sun.javafx.tools.resource.PackagerResource;
  29 
  30 import java.io.File;
  31 import java.util.ArrayList;
  32 import java.util.List;
  33 
  34 /**
  35  * @deprecated use {@link ToolProvider} to locate the {@code "javapackager"} tool instead.
  36  */
  37 @Deprecated(since="10", forRemoval=true)
  38 public class SignJarParams extends CommonParams {
  39 
  40     final List<PackagerResource> resources = new ArrayList<PackagerResource>();
  41 
  42     File keyStore;
  43     String alias;
  44     String storePass;
  45     String keyPass;
  46     String storeType = "jks";
  47     Boolean verbose = false;
  48 
  49     public void setVerbose(boolean v) {
  50         verbose = v;
  51     }
  52 
  53     public void setAlias(String alias) {
  54         this.alias = alias;
  55     }
  56 
  57     public void setKeyPass(String keyPass) {