Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for usageCanBeMutated (0.17 sec)

  1. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/configurations/ConfigurationInternal.java

        /**
         * Indicates if the allowed usages of this configuration (consumable, resolvable, declarable) can be changed.
         *
         * @return {@code true} if so; {@code false} otherwise
         */
        boolean usageCanBeMutated();
    
        /**
         * Update a configuration's allowed and disallowed usage to match the given role
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:21:15 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/configurations/DefaultConfiguration.java

        }
    
        @Override
        public void preventUsageMutation() {
            usageCanBeMutated = false;
        }
    
        @Override
        public boolean usageCanBeMutated() {
            return usageCanBeMutated;
        }
    
        @SuppressWarnings("deprecation")
        private void assertUsageIsMutable() {
            if (!usageCanBeMutated) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 17:36:01 UTC 2024
    - 85.4K bytes
    - Viewed (0)
Back to top