Interface Layout

    • Method Summary

      Modifier and Type Method Description
      java.lang.String getClassesLocation()
      Returns the location of classes within the archive.
      java.lang.String getLauncherClassName()
      Returns the launcher class name for this layout.
      java.lang.String getLibraryDestination​(java.lang.String libraryName, LibraryScope scope)
      Returns the destination path for a given library.
      boolean isExecutable()
      Returns if loader classes should be included to make the archive executable.
    • Method Detail

      • getLauncherClassName

        java.lang.String getLauncherClassName()
        Returns the launcher class name for this layout.
        Returns:
        the launcher class name
      • getLibraryDestination

        java.lang.String getLibraryDestination​(java.lang.String libraryName,
                                               LibraryScope scope)
        Returns the destination path for a given library.
        Parameters:
        libraryName - the name of the library (excluding any path)
        scope - the scope of the library
        Returns:
        the destination relative to the root of the archive (should end with '/') or null if the library should not be included.
      • getClassesLocation

        java.lang.String getClassesLocation()
        Returns the location of classes within the archive.
        Returns:
        the classes location
      • isExecutable

        boolean isExecutable()
        Returns if loader classes should be included to make the archive executable.
        Returns:
        if the layout is executable