Interface for package specific settings. The settings needed for a specific package to build properly or to customize its build can be obtained from the API provided by this interface.
- Type of the object that represents package information.| Type Params | Return Type | Name and description |
|---|---|---|
|
java.util.List<java.lang.String> |
getBuildOptions(T t)Get the build options for the binary version of this package. |
|
java.util.List<java.lang.String> |
getConfigureOptions(T t)Get the configure options for the package. |
|
java.util.Map<java.lang.String, java.lang.String> |
getEnvironment(T t)Get the build environment required for this package. |
|
java.util.List<java.lang.String> |
getGlobalOptions(T t)Get the global options for the package installation. |
|
java.util.List<java.lang.String> |
getInstallOptions(T t)Get the install options for the package. |
|
java.util.List<java.lang.String> |
getSupportedLanguageVersions(T t)Get the language versions supported by the package. |
|
boolean |
requiresSourceBuild(T t)Determines if the package requires a build from source. |
Get the build options for the binary version of this package.
An example is "--build-option" for the "pip wheel" command.
t - package information objectGet the configure options for the package.
For example, the options for "./configure" command when building a C program.
t - package information objectGet the build environment required for this package.
t - package information objectGet the global options for the package installation.
An example is "--global-option" for the "pip" command.
t - package information objectGet the install options for the package.
An example is "--install-option" for the "pip install" command.
t - package information objectGet the language versions supported by the package.
An example is Python package support for 2.7, 3.5, and 3.6 versions of the language. The major version can be also specified, such as 2 or 3.
t - package information objectDetermines if the package requires a build from source.
Even if the binary artifact of the package is available, the package may need a rebuild because of custom build options or environment.
t - package information object