Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 301 for attribute (0.05 seconds)

  1. compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/extension/model/io/xpp3/CoreExtensionsXpp3Reader.java

         * @param parser a parser object.
         * @param attribute a attribute object.
         * @throws XmlPullParserException XmlPullParserException if
         * any.
         * @return boolean
         */
        private boolean getBooleanValue(String s, String attribute, XmlPullParser parser) throws XmlPullParserException {
            return getBooleanValue(s, attribute, parser, null);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Oct 27 13:24:03 GMT 2025
    - 25.3K bytes
    - Click Count (0)
  2. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlNode.java

            /**
             * Sets the attributes of the XML node.
             * <p>
             * The provided map will be copied to ensure immutability.
             *
             * @param attributes the map of attribute names to values
             * @return this builder instance
             */
            public Builder attributes(Map<String, String> attributes) {
                this.attributes = attributes;
                return this;
            }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Dec 17 15:20:44 GMT 2025
    - 18.3K bytes
    - Click Count (0)
  3. build-logic-commons/basics/src/main/kotlin/gradlebuild.minify.gradle.kts

             * it just no-op in most cases.
             */
            registerTransform(Minify::class) {
                from.attribute(minified, false).attribute(artifactType, "jar")
                to.attribute(minified, true).attribute(artifactType, "jar")
                parameters {
                    keepClassesByCoordinates = keepPatterns
                }
            }
        }
        afterEvaluate {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Dec 25 16:18:05 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  4. build-logic/binary-compatibility/src/main/groovy/gradlebuild.binary-compatibility.gradle

            attributes.attribute(Usage.USAGE_ATTRIBUTE as Attribute<Usage>, RUNTIME_ATTRIBUTE)
            attributes.attribute(Category.CATEGORY_ATTRIBUTE as Attribute<Category>, DOCUMENTATION_ATTRIBUTE)
            attributes.attribute(DocsType.DOCS_TYPE_ATTRIBUTE as Attribute<DocsType>, SOURCES_ATTRIBUTE)
            extendsFrom(currentClasspath)
        }
    }
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Dec 30 10:14:25 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  5. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/classanalysis/AnalyzeAndShade.kt

    private
    val zipEntryBaseTimestamp = LocalDateTime.of(1980, 2, 1, 0, 0, 0)
        .atZone(ZoneId.systemDefault()).toInstant().toEpochMilli()
    
    
    object Attributes {
        val artifactType = Attribute.of("artifactType", String::class.java)
        val minified = Attribute.of("minified", Boolean::class.javaObjectType)
    }
    
    
    class JarAnalyzer(
        private val shadowPackage: String,
        private val keepPackages: Set<String>,
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Sat Mar 22 03:48:38 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  6. impl/maven-core/src/test/java/org/apache/maven/project/harness/Xpp3DomAttributeIterator.java

        }
    
        @Override
        public int getPosition() {
            return position;
        }
    
        @Override
        public boolean setPosition(int position) {
            this.position = position;
            attribute = (position > 0 && position <= attributes.size()) ? attributes.get(position - 1) : null;
            return attribute != null;
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  7. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/nullaway/NullawayAttributes.kt

    import org.gradle.api.artifacts.Configuration
    import org.gradle.api.attributes.Attribute
    import org.gradle.api.attributes.AttributeCompatibilityRule
    import org.gradle.api.attributes.CompatibilityCheckDetails
    import org.gradle.api.provider.Provider
    
    enum class NullawayState {
        ENABLED, DISABLED
    }
    
    object NullawayAttributes {
        val nullawayAttribute = Attribute.of("org.gradle.gradlebuild.nullaway", NullawayState::class.java)
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Aug 20 13:18:23 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  8. build-logic/jvm/src/main/kotlin/gradlebuild/ConfigurationExtensions.kt

        attributes {
            attribute(Usage.USAGE_ATTRIBUTE, objects.named(Usage.JAVA_API))
            attribute(Category.CATEGORY_ATTRIBUTE, objects.named(Category.LIBRARY))
            attribute(LibraryElements.LIBRARY_ELEMENTS_ATTRIBUTE, objects.named(LibraryElements.JAR))
            attribute(Bundling.BUNDLING_ATTRIBUTE, objects.named(Bundling.EXTERNAL))
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Jan 14 07:52:30 GMT 2025
    - 3K bytes
    - Click Count (0)
  9. build-logic/buildquality/src/main/kotlin/gradlebuild.incubation-report-aggregation.gradle.kts

        isCanBeResolved = true
        isCanBeConsumed = false
        attributes {
            attribute(Usage.USAGE_ATTRIBUTE, objects.named(Usage.JAVA_RUNTIME))
            attribute(Category.CATEGORY_ATTRIBUTE, objects.named(Category.DOCUMENTATION))
            attribute(DocsType.DOCS_TYPE_ATTRIBUTE, objects.named("incubation-report-$reportType"))
        }
        extendsFrom(reports)
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Jul 02 12:28:02 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  10. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlService.java

     * <p>For complex XML structures, combining can also be done based on:</p>
     * <ul>
     *   <li>ID: Using the {@code combine.id} attribute</li>
     *   <li>Keys: Using the {@code combine.keys} attribute with comma-separated key names</li>
     * </ul>
     *
     * @since 4.0.0
     */
    public abstract class XmlService {
    
        /** Attribute name controlling how child elements are combined */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Apr 03 13:33:59 GMT 2025
    - 9.2K bytes
    - Click Count (0)
Back to Top