Package gmbh.pagina.tools.gradle.mac_app
Class JavaApplicationStubSource
java.lang.Object
gmbh.pagina.tools.gradle.mac_app.JavaApplicationStubSource
A Java application stub source definition.
-
Constructor Summary
ConstructorsConstructorDescriptionJavaApplicationStubSource(String url, boolean unzip, String executableName) Constructs a JavaApplicationStubSource with the provided configuration. -
Method Summary
-
Constructor Details
-
JavaApplicationStubSource
Constructs a JavaApplicationStubSource with the provided configuration.- Parameters:
url- the URL to download the stub fromunzip- whether to unzip the downloaded fileexecutableName- the name of the executable file
-
-
Method Details
-
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
Gets the name of the executable file.- Returns:
- the executable name
-