modules/jdk.packager/src/main/java/com/oracle/tools/packager/Bundler.java

Print this page




  12  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  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.oracle.tools.packager;
  27 
  28 import java.io.File;
  29 import java.util.Collection;
  30 import java.util.Map;
  31 




  32 public interface Bundler {
  33 
  34 
  35     /**
  36      * @return User Friendly name of this bundler.
  37      */
  38     String getName();
  39 
  40     /**
  41      * @return A more verbose description of the bundler.
  42      */
  43     String getDescription();
  44 
  45     /**
  46      * @return Command line identifier of the bundler.  Should be unique.
  47      */
  48     String getID();
  49 
  50     /**
  51      * @return The bundle type of the bundle that is created by this bundler.
  52      */
  53     String getBundleType();
  54 




  12  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  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.oracle.tools.packager;
  27 
  28 import java.io.File;
  29 import java.util.Collection;
  30 import java.util.Map;
  31 
  32 /**
  33  * @deprecated use {@link ToolProvider} to locate the {@code "javapackager"} tool instead.
  34  */
  35 @Deprecated(since="10", forRemoval=true)
  36 public interface Bundler {


  37     /**
  38      * @return User Friendly name of this bundler.
  39      */
  40     String getName();
  41 
  42     /**
  43      * @return A more verbose description of the bundler.
  44      */
  45     String getDescription();
  46 
  47     /**
  48      * @return Command line identifier of the bundler.  Should be unique.
  49      */
  50     String getID();
  51 
  52     /**
  53      * @return The bundle type of the bundle that is created by this bundler.
  54      */
  55     String getBundleType();
  56