public interface JackProvider
JackConfig.| Modifier and Type | Interface and Description |
|---|---|
static class |
JackProvider.SubReleaseKind
The kind of sub-release.
|
| Modifier and Type | Method and Description |
|---|---|
<T extends JackConfig> |
createConfig(java.lang.Class<T> cls)
Creates a
JackConfig instance for an interface representing a JackConfig API
version. |
java.lang.String |
getCompilerBuildId()
The build ID of this Jack compiler.
|
int |
getCompilerReleaseCode()
Gives an integer value that represents the release of this Jack compiler, relative to other
releases.
|
java.lang.String |
getCompilerReleaseName()
Gives the release name of this Jack compiler (e.g.
|
java.lang.String |
getCompilerSourceCodeBase()
Identify the source code base of this Jack compiler.
|
int |
getCompilerSubReleaseCode()
Gives an integer value that represents the sub-release of this Jack compiler, relative to other
sub-releases of the same release.
|
JackProvider.SubReleaseKind |
getCompilerSubReleaseKind()
Gives the kind of sub-release of this Jack compiler.
|
java.lang.String |
getCompilerVersion()
Gives the version of this Jack compiler, summarized in one string (e.g.
|
java.util.Collection<java.lang.Class<? extends JackConfig>> |
getSupportedConfigs()
Gives a
Collection containing supported JackConfig API versions. |
<T extends JackConfig> |
isConfigSupported(java.lang.Class<T> cls)
Returns whether an interface representing a
JackConfig API version is supported. |
@Nonnull <T extends JackConfig> T createConfig(@Nonnull java.lang.Class<T> cls) throws ConfigNotSupportedException
JackConfig instance for an interface representing a JackConfig API
version.T - the JackConfig API interfacecls - the JackConfig API Class instanceJackConfig instanceConfigNotSupportedException - If no implementation is found for the given interface.@Nonnull <T extends JackConfig> boolean isConfigSupported(@Nonnull java.lang.Class<T> cls)
JackConfig API version is supported.T - the JackConfig API interfacecls - the JackConfig API Class instancetrue if the configuration is supported, otherwise false@Nonnull java.util.Collection<java.lang.Class<? extends JackConfig>> getSupportedConfigs()
Collection containing supported JackConfig API versions.JackConfig API versions@Nonnull java.lang.String getCompilerVersion()
@Nonnull java.lang.String getCompilerReleaseName()
@Nonnegative int getCompilerReleaseCode()
@Nonnegative int getCompilerSubReleaseCode()
@Nonnull JackProvider.SubReleaseKind getCompilerSubReleaseKind()
@CheckForNull java.lang.String getCompilerBuildId()
@CheckForNull java.lang.String getCompilerSourceCodeBase()