Enum TranslatorType

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<TranslatorType>

    enum TranslatorType
    extends java.lang.Enum<TranslatorType>
    A selector for the types of IDL translators supported
    • Constructor Detail

      • TranslatorType

        private TranslatorType()
    • Method Detail

      • values

        public static TranslatorType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (TranslatorType c : TranslatorType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static TranslatorType valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • isJavaModuleSystemPresent

        private static boolean isJavaModuleSystemPresent()
      • selectTranslator

        static CompilerTranslator selectTranslator​(java.lang.String compiler)
                                            throws org.apache.maven.plugin.MojoExecutionException
        Throws:
        org.apache.maven.plugin.MojoExecutionException
      • select

        abstract boolean select​(java.lang.String compilerSetting)