Interface Packaging

All Known Implementing Classes:
JarPackaging, WarPackaging

public interface Packaging
Application packaging, such as a jar file or a war file.
Author:
Andy Wilkinson
  • Method Summary

    Modifier and Type
    Method
    Description
    static Packaging
    forId(@Nullable String id)
    Creates the packaging for the given id.
    id()
    Return the id of the packaging.
  • Method Details

    • id

      String id()
      Return the id of the packaging.
      Returns:
      the id
    • forId

      static Packaging forId(@Nullable String id)
      Creates the packaging for the given id.
      Parameters:
      id - the id
      Returns:
      the packaging
      Throws:
      IllegalStateException - if the packaging with the given id can't be found