Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 62 for Suggestion (0.18 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/report/unbound/UnboundRuleInput.java

                this.bound = true;
                return this;
            }
    
            public Builder suggestions(Collection<? extends String> suggestedPaths) {
                this.suggestedPaths.addAll(suggestedPaths);
                return this;
            }
    
            public Builder suggestions(String... suggestedPath) {
                return suggestions(Arrays.asList(suggestedPath));
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  2. src/cmd/go/internal/work/exec.go

    	// the linker) in the object file to signal the that it should not
    	// try to link internally and should revert to external linking.
    	// The token we pass is a suggestion, not a mandate; if a user is
    	// explicitly asking for a specific linkmode via the "-linkmode"
    	// flag, the token will be ignored. NB: in theory we could ditch
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 14:46:37 UTC 2024
    - 105.6K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/registry/ModelPathSuggestionProviderTest.groovy

            then:
            suggestionsFor("foo") == ["fo", "foob", "for"]
            suggestionsFor("foor") == ["foob", "for", "bor", "fo"]
            suggestionsFor("foora") == ["foob", "for"]
        }
    
        def "suggestions are ordered by distance then alphabetical"() {
            when:
            availablePaths = ["tasks.foobar", "task.afoobar", "tasks.f", "tasks.boofar", "fooba", "tasks.foo"]
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/SuggestionsMessages.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.integtests.fixtures
    
    /**
     * A collection of suggestions to be displayed to the user when a build fails.
     * These where repeated all over the test code, so they are now centralized here.
     */
    
    class SuggestionsMessages {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/resolution/failure/describer/ResolutionFailureDescriber.java

    import java.util.Optional;
    
    /**
     * Describe a certain type of resolution failure, by providing concise and specific human-readable
     * information to the message of the resulting exception, and also adding resolution suggestions if possible.
     *
     * @param <FAILURE> the type of failure that this describer can describe
     */
    public interface ResolutionFailureDescriber<FAILURE extends ResolutionFailure> {
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 13:08:22 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/main/java/org/gradle/internal/artifacts/configurations/AbstractRoleBasedConfigurationCreationRequest.java

         *
         * This method should only be called by the container when maybe-creating a configuration that already exists.
         *
         * This method will emit a detailed deprecation method with suggestions if the usage is inconsistent.  It will then attempt to mutate
         * the usage to match the expectation.  If the usage cannot be mutated, it will throw an exception.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/ModelRuleBindingFailureIntegrationTest.groovy

        subject:
          - foo.bar Object [*]
    
      foo.bla { ... } @ build.gradle line 8, column 17
        subject:
          - foo.bla Object [*]
    """
        }
    
        def "suggestions are provided for unbound by-path references"() {
            given:
            buildScript """
                class MyPlugin {
                    static class Rules extends RuleSource {
                        @Mutate
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/report/unbound/UnboundRulesReporter.java

                    writer.println(input.getScope());
                }
                if (input.getSuggestedPaths().size() > 0) {
                    writer.write(indent(4));
                    writer.write("suggestions: ");
                    writer.println(Joiner.on(", ").join(input.getSuggestedPaths()));
                }
            }
        }
    
        private void heading(String heading) {
            writer.print(indent(1));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/UnboundRulesProcessor.java

                builder.bound();
                path = binding.getNode().getPath();
            } else {
                path = reference.getPath();
                if (path != null) {
                    builder.suggestions(CollectionUtils.stringize(suggestionsProvider.transform(path)));
                }
                ModelPath scope = reference.getScope();
                if (scope != null && !scope.equals(ModelPath.ROOT)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/api/internal/artifacts/configurations/RoleBasedConfigurationCreationRequest.java

         *
         * This method should only be called by the container when maybe-creating a configuration that already exists.
         *
         * This method will emit a detailed deprecation method with suggestions if the usage is inconsistent.  It will then attempt to mutate
         * the usage to match the expectation.  If the usage cannot be mutated, it will throw an exception.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 13:42:17 UTC 2023
    - 4.5K bytes
    - Viewed (0)
Back to top