src/jdk.jpackage/share/classes/jdk/jpackage/internal/BundleParams.java
branchJDK-8200758-branch
changeset 57414 6eda749d3117
parent 57396 3944e4c2f779
child 57438 4a31db8d42bd
equal deleted inserted replaced
57413:45c74e654794 57414:6eda749d3117
    39     final protected Map<String, ? super Object> params;
    39     final protected Map<String, ? super Object> params;
    40 
    40 
    41     // RelativeFileSet
    41     // RelativeFileSet
    42     public static final String PARAM_APP_RESOURCES      = "appResources";
    42     public static final String PARAM_APP_RESOURCES      = "appResources";
    43 
    43 
    44     // BundlerType
    44     // String - Icon file name
    45     public static final String PARAM_TYPE               = "type";
       
    46 
       
    47     // String
       
    48     public static final String PARAM_BUNDLE_FORMAT      = "bundleFormat";
       
    49     // String
       
    50     public static final String PARAM_ICON               = "icon";
    45     public static final String PARAM_ICON               = "icon";
    51 
    46 
    52     // String - Name of bundle file and native launcher
    47     // String - Name of bundle file and native launcher
    53     public static final String PARAM_NAME               = "name";
    48     public static final String PARAM_NAME               = "name";
    54 
    49 
   201         return fetchParam(APP_NAME);
   196         return fetchParam(APP_NAME);
   202     }
   197     }
   203 
   198 
   204     public void setName(String name) {
   199     public void setName(String name) {
   205         putUnlessNull(PARAM_NAME, name);
   200         putUnlessNull(PARAM_NAME, name);
   206     }
       
   207 
       
   208     @SuppressWarnings("deprecation")
       
   209     public BundlerType getType() {
       
   210         return fetchParam(BundlerType.class, PARAM_TYPE);
       
   211     }
       
   212 
       
   213     @SuppressWarnings("deprecation")
       
   214     public void setType(BundlerType type) {
       
   215         putUnlessNull(PARAM_TYPE, type);
       
   216     }
       
   217 
       
   218     public String getBundleFormat() {
       
   219         return fetchParam(String.class, PARAM_BUNDLE_FORMAT);
       
   220     }
       
   221 
       
   222     public void setBundleFormat(String t) {
       
   223         putUnlessNull(PARAM_BUNDLE_FORMAT, t);
       
   224     }
   201     }
   225 
   202 
   226     public boolean getVerbose() {
   203     public boolean getVerbose() {
   227         return fetchParam(VERBOSE);
   204         return fetchParam(VERBOSE);
   228     }
   205     }