Enum DependencyOptions.DependencyMode

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      NONE
      All input files will be included in the compilation in the order they were specified in.
      PRUNE
      Input files that are transitive dependencies of the entry points will be included in the compilation in dependency order.
      PRUNE_LEGACY
      Input files that are transitive dependencies of the entry points will be included in the compilation in dependency order.
      SORT_ONLY
      All input files will be included in the compilation in dependency order.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static DependencyOptions.DependencyMode valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static DependencyOptions.DependencyMode[] 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
    • Enum Constant Detail

      • PRUNE_LEGACY

        public static final DependencyOptions.DependencyMode PRUNE_LEGACY
        Input files that are transitive dependencies of the entry points will be included in the compilation in dependency order. All other input files will be dropped.

        In addition to the explicitly defined entry points, moochers (see below) are implicit entry points.

      • PRUNE

        public static final DependencyOptions.DependencyMode PRUNE
        Input files that are transitive dependencies of the entry points will be included in the compilation in dependency order. All other input files will be dropped.

        All entry points must be explicitly defined.

    • Method Detail

      • values

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

        public static DependencyOptions.DependencyMode 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