Enum TargetDependencyProject

    • Enum Constant Detail

      • SELF

        @Stability(Stable)
        public static final TargetDependencyProject SELF
        Only rely on the package where the target is called.

        This is usually done for test like targets where you only want to run unit tests on the target packages without testing all dependent packages.

      • DEPENDENCIES

        @Stability(Stable)
        public static final TargetDependencyProject DEPENDENCIES
        Target relies on executing the target against all dependencies first.

        This is usually done for build like targets where you want to build all dependant projects first.

    • Method Detail

      • values

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

        public static TargetDependencyProject valueOf​(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:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null