|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface JackProvider
Provides instances of JackConfig.
| Nested Class Summary | |
|---|---|
static class |
JackProvider.SubReleaseKind
The kind of sub-release. |
| Method Summary | ||
|---|---|---|
|
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. |
|
|
isConfigSupported(java.lang.Class<T> cls)
Returns whether an interface representing a JackConfig API version is supported. |
|
| Method Detail |
|---|
@Nonnull
<T extends JackConfig> T createConfig(@Nonnull
java.lang.Class<T> cls)
throws ConfigNotSupportedException
JackConfig instance for an interface representing a JackConfig API
version.
cls - the JackConfig API interface
JackConfig instance
ConfigNotSupportedException - 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.
cls - the JackConfig API interface
true if the config is supported@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()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||