Interface ICompiler
Interface for an identified compiler.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ICompilerAndroid ART compiler descriptor.static final ICompilerAndroid NDK compiler descriptor.static final ICompilerUnknown compiler descriptor.static final ICompilerUnknown Linux-compatible compiler descriptor.static final ICompilerUnknown Windows-compatible compiler descriptor.static final ICompilerVisual Studio compiler descriptor. -
Method Summary
Modifier and TypeMethodDescriptiongetName()Get the compiler name.intGet property id associated to this compiler.getType()Get the compiler type.default booleanDetermine whether this compiler is Android ART.default booleanDetermine whether this compiler is Android-compatible.default booleanDetermine whether this compiler is Android NDK.default booleanDetermine whether this compiler is Linux-compatible.default booleanDetermine whether this compiler is unknown.default booleanDetermine whether this compiler is Visual Studio.default booleanDetermine whether this compiler is Windows-compatible.
-
Field Details
-
COMP_UNKNOWN
Unknown compiler descriptor. -
COMP_UNKNOWN_LINUX
Unknown Linux-compatible compiler descriptor. -
COMP_UNKNOWN_WINDOWS
Unknown Windows-compatible compiler descriptor. -
COMP_ANDROID_ART
Android ART compiler descriptor. -
COMP_ANDROID_NDK
Android NDK compiler descriptor. -
COMP_VISUAL_STUDIO
Visual Studio compiler descriptor.
-
-
Method Details
-
getName
String getName()Get the compiler name.- Returns:
- the compiler name, as displayed in the client.
-
getType
CompilerType getType()Get the compiler type.- Returns:
- compiler type
-
isUnknown
default boolean isUnknown()Determine whether this compiler is unknown.- Returns:
- true if this compiler is unknown
-
isWindowsCompatible
default boolean isWindowsCompatible()Determine whether this compiler is Windows-compatible.- Returns:
- true if this compiler is Windows-compatible
-
isVisualStudio
default boolean isVisualStudio()Determine whether this compiler is Visual Studio.- Returns:
- true if this compiler is Visual Studio
-
isLinuxCompatible
default boolean isLinuxCompatible()Determine whether this compiler is Linux-compatible.- Returns:
- true if this compiler is Linux-compatible
-
isAndroidCompatible
default boolean isAndroidCompatible()Determine whether this compiler is Android-compatible.- Returns:
- true if this compiler is Android-compatible
-
isAndroidART
default boolean isAndroidART()Determine whether this compiler is Android ART.- Returns:
- true if this compiler is Android ART
-
isAndroidNDK
default boolean isAndroidNDK()Determine whether this compiler is Android NDK.- Returns:
- true if this compiler is Android NDK
-
getPropertyId
int getPropertyId()Get property id associated to this compiler.- Returns:
- property identifier
-