- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 36 for Conventions (0.8 sec)
-
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/PropertyAccessorType.java
/** * Distinguishes "get" getters, "is" getters and setters from non-property methods. * * Generally follows the JavaBean conventions, with 2 exceptions: is methods can return `Boolean` (in addition to `boolean`) and setter methods can return non-void values. * * This is essentially a superset of the conventions supported by Java, Groovy and Kotlin. */ public enum PropertyAccessorType { IS_GETTER(2) { @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 5.7K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/Managed.java
* * <h3>Properties</h3> * <p> * Managed types declare their structure as properties, via getter and setter methods. * Getter and setter methods are expected to conform to the well-known Java Bean naming conventions. * A read/write “name” property would be expressed via the following methods: * <pre> * void setName(String name); * String getName(); * </pre> * <p>
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 5.2K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/extensibility/ExtensibleDynamicObject.java
} public ExtensibleDynamicObject(Object delegate, AbstractDynamicObject dynamicDelegate, org.gradle.api.plugins.Convention convention) { this.dynamicDelegate = dynamicDelegate; this.convention = convention; this.extraPropertiesDynamicObject = new ExtraPropertiesDynamicObjectAdapter(delegate.getClass(), convention.getExtraProperties()); updateDelegates(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Nov 17 11:25:34 UTC 2023 - 8.7K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/plugins/DslObject.java
@Deprecated public org.gradle.api.plugins.Convention getConvention() { // TODO nag once KGP doesn't register conventions anymore // DeprecationLogger.deprecateType(org.gradle.api.internal.HasConvention.class) // .willBeRemovedInGradle9() // .withUpgradeGuideSection(8, "deprecated_access_to_conventions") // .nagUser(); if (convention == null) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 4.4K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/extensibility/ConventionAwareHelper.java
switch (value.getMaximumNumberOfParameters()) { case 0: return value.call(); case 1: return value.call(convention); default: return value.call(convention, conventionAwareObject); } } });
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 09:53:33 UTC 2024 - 9.8K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/ValueState.java
* @param convention the new convention * @return the given value, if this value state is not explicit, otherwise the new convention value */ public abstract S applyConvention(S value, S convention); /** * Marks this value state as being non-explicit. Returns the convention, if any. */ public abstract S implicitValue(S convention); public abstract S implicitValue();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 11:41:55 UTC 2024 - 13.7K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/extensibility/DefaultConvention.java
} @Override public DynamicObject getExtensionsAsDynamicObject() { // This implementation of Convention doesn't log a deprecation warning // because it mixes both extensions and conventions. // Instead, the returned object logs a deprecation warning when // a convention is actually accessed. return extensionsDynamicObject; } @Deprecated @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 13:45:02 UTC 2024 - 13.7K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/AbstractClassGenerator.java
} private static boolean isIneligibleForConventionMapping(PropertyMetadata property) { // Provider API types and convention-supporting types in general should have conventions set through convention() instead of // using convention mapping. return Provider.class.isAssignableFrom(property.getType()) || SupportsConvention.class.isAssignableFrom(property.getType()); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 06 21:54:37 UTC 2024 - 63K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleReleaseNotesPlugin.java
task.getInputEncoding().convention(Charset.defaultCharset().name()); task.getOutputEncoding().convention(Charset.defaultCharset().name()); task.getMarkdownFile().convention(extension.getReleaseNotes().getMarkdownFile()); task.getDestinationFile().convention(extension.getStagingRoot().file("release-notes/raw.html")); });
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 10 11:32:18 UTC 2023 - 5.4K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleUserManualPlugin.java
userManual.getRoot().convention(extension.getSourceRoot().dir("userguide")); userManual.getStagingRoot().convention(extension.getStagingRoot().dir("usermanual")); // TODO: These should be generated too userManual.getSnippets().convention(layout.getProjectDirectory().dir("src/snippets")); userManual.getSamples().convention(layout.getProjectDirectory().dir("src/samples"));
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 01 05:46:51 UTC 2024 - 17.7K bytes - Viewed (0)