Enum FileExtensionHint

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      CMAKE_C
      C file extension hint.
      CMAKE_CPP
      C++ file extension hint.
      CMAKE_H
      C file extension hint.
      JAR_JAVA
      Java file extension hint.
      JAR_JSP
      Perl file extension hint.
      PERL_PL
      Perl file extension hint.
      PERL_PM
      Perl file extension hint.
      PHP
      PHP file extension hint.
      PYTON
      Python file extension hint.
      RUBY
      Ruby file extension hint.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getEcosystem()
      Returns the ecosystem.
      java.lang.String getExtension()  
      EcosystemHintNature getNature()
      Returns the nature of the ecosystem hint.
      java.lang.String getValue()
      Returns the value.
      static FileExtensionHint valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static FileExtensionHint[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Method Detail

      • values

        public static FileExtensionHint[] 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 (FileExtensionHint c : FileExtensionHint.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static FileExtensionHint 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
      • getEcosystem

        public java.lang.String getEcosystem()
        Description copied from interface: EcosystemHint
        Returns the ecosystem.
        Specified by:
        getEcosystem in interface EcosystemHint
        Returns:
        the ecosystem
      • getExtension

        public java.lang.String getExtension()
      • getValue

        public java.lang.String getValue()
        Description copied from interface: EcosystemHint
        Returns the value.
        Specified by:
        getValue in interface EcosystemHint
        Returns:
        the value