Class JavaApplicationStubSource

java.lang.Object
gmbh.pagina.tools.gradle.mac_app.JavaApplicationStubSource

public class JavaApplicationStubSource extends Object
A Java application stub source definition.
  • Constructor Details

    • JavaApplicationStubSource

      public JavaApplicationStubSource(String url, boolean unzip, String executableName)
      Constructs a JavaApplicationStubSource with the provided configuration.
      Parameters:
      url - the URL to download the stub from
      unzip - whether to unzip the downloaded file
      executableName - the name of the executable file
  • Method Details

    • getUrl

      public String getUrl()
      Gets the URL to download the stub from.
      Returns:
      the stub URL
    • isUnzip

      public boolean isUnzip()
      Gets whether the downloaded file should be unzipped.
      Returns:
      true if the file should be unzipped, false otherwise
    • getExecutableName

      public String getExecutableName()
      Gets the name of the executable file.
      Returns:
      the executable name