Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 42 for getConvention (0.18 sec)

  1. subprojects/core-api/src/main/java/org/gradle/api/Task.java

         * @deprecated The concept of conventions is deprecated. Use extensions if possible.
         * @see ExtensionAware#getExtensions()
         */
        @Internal
        @Deprecated
        org.gradle.api.plugins.Convention getConvention();
    
        /**
         * Returns the description of this task.
         *
         * @return the description. May return null.
         */
        @Internal
        @Nullable
        String getDescription();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 17:25:12 UTC 2024
    - 31.6K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_7.adoc

    The concept of conventions is outdated and superseded by extensions.
    To reflect this in the Gradle API, the following elements are now deprecated:
    
    - link:{javadocPath}/org/gradle/api/Project.html#getConvention--[org.gradle.api.Project.getConvention()]
    - `org.gradle.api.internal.HasConvention` (deprecated)
    
    The internal usages of conventions have been also cleaned up (see the deprecated items below).
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 15:00:23 UTC 2024
    - 87.7K bytes
    - Viewed (0)
  3. subprojects/core-api/src/main/java/org/gradle/api/Project.java

         * @deprecated The concept of conventions is deprecated. Use extensions if possible.
         * @see ExtensionAware#getExtensions()
         */
        @Deprecated
        org.gradle.api.plugins.Convention getConvention();
    
        /**
         * <p>Compares the nesting level of this project with another project of the multi-project hierarchy.</p>
         *
         * @param otherProject The project to compare the nesting level with.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 04:56:22 UTC 2024
    - 74.3K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/DefaultProperty.java

        }
    
        @Override
        public Property<T> convention(@Nullable T value) {
            if (value == null) {
                setConvention(Providers.notDefined());
            } else {
                setConvention(Providers.fixedValue(getValidationDisplayName(), value, type, sanitizer));
            }
            return this;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 05:33:15 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/ValueState.java

        /**
         * Sets a new convention value, replacing the existing one if set.
         *
         * @param convention the new convention value
         */
        public abstract void setConvention(S convention);
    
        public abstract void disallowChanges();
    
        public abstract void finalizeOnNextGet();
    
        public abstract void disallowUnsafeRead();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/plugin/software/internal/SoftwareTypeImplementation.java

        Class<? extends Plugin<Project>> getPluginClass();
    
        Class<? extends Plugin<Settings>> getRegisteringPluginClass();
    
        void addConvention(Convention<?> rule);
    
        List<Convention<?>> getConventions();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 03 16:02:34 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  7. platforms/extensibility/plugin-use/src/main/java/org/gradle/plugin/software/internal/DefaultSoftwareTypeImplementation.java

            return registeringPluginClass;
        }
    
        @Override
        public void addConvention(Convention<?> rule) {
            conventionRules.add(rule);
        }
    
        @Override
        public List<Convention<?>> getConventions() {
            return ImmutableList.copyOf(conventionRules);
        }
    
        @Override
        public boolean equals(Object o) {
            if (this == o) {
                return true;
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 03 16:02:34 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/DefaultMapProperty.java

            if (value == null) {
                setConvention(noValueSupplier());
            } else {
                setConvention(new CollectingSupplier(new EntriesFromMap<>(value), false));
            }
            return this;
        }
    
        @Override
        public MapProperty<K, V> convention(Provider<? extends Map<? extends K, ? extends V>> valueProvider) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 05:33:15 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/AbstractProperty.java

        public AbstractProperty(PropertyHost host) {
            state = ValueState.newState(host);
        }
    
        protected void init(S initialValue, S convention) {
            this.value = initialValue;
            this.state.setConvention(convention);
        }
    
        protected void init(S initialValue) {
            init(initialValue, initialValue);
        }
    
        @Override
        public boolean isFinalized() {
            return state.isFinalized();
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:54 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  10. testing/architecture-test/src/changes/archunit-store/public-api-mutable-properties.txt

    Method <org.gradle.api.Project.getConfigurations()> does not have raw return type assignable to org.gradle.api.provider.Provider in (Project.java:0)
    Method <org.gradle.api.Project.getConvention()> does not have raw return type assignable to org.gradle.api.provider.Provider in (Project.java:0)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 22:42:49 UTC 2024
    - 160.5K bytes
    - Viewed (0)
Back to top