Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for ExtraInfo (0.12 sec)

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

        private final String branch;
        private final String ivyStatus;
        private final IvyExtraInfo extraInfo;
    
        public DefaultIvyModuleDescriptor(Map<NamespaceId, String> extraInfo, @Nullable String branch, String ivyStatus) {
            this.extraInfo = new DefaultIvyExtraInfo(extraInfo);
            this.branch = branch;
            this.ivyStatus = ivyStatus;
        }
    
        @Override
        public String getBranch() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  2. pkg/test/framework/errors/deprecations.go

    // a DeprecatedError. Use `extraInfo` to pass additional info, like pod namespace/name, etc.
    func FindDeprecatedMessagesInEnvoyLog(logs, extraInfo string) error {
    	scanner := bufio.NewScanner(strings.NewReader(logs))
    	for scanner.Scan() {
    		line := scanner.Text()
    		if strings.Contains(strings.ToLower(line), "deprecated") {
    			if len(extraInfo) > 0 {
    				extraInfo = fmt.Sprintf(" (%s)", extraInfo)
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/DefaultIvyExtraInfoTest.groovy

        def "can get value by name only" () {
            given:
            def extraInfo = new DefaultIvyExtraInfo([ (new NamespaceId('http://my.extra.info', 'foo')): 'fooValue' ])
    
            expect:
            extraInfo.get('foo') == 'fooValue'
            extraInfo.get('goo') == null
        }
    
        def "throws exception when name matches multiple keys" () {
            given:
            def extraInfo = new DefaultIvyExtraInfo([
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/DefaultIvyExtraInfo.java

    import java.util.Map;
    
    public class DefaultIvyExtraInfo implements IvyExtraInfo {
        protected final Map<NamespaceId, String> extraInfo;
    
        public DefaultIvyExtraInfo() {
            this.extraInfo = new LinkedHashMap<>();
        }
    
        public DefaultIvyExtraInfo(Map<NamespaceId, String> extraInfo) {
            this.extraInfo = extraInfo;
        }
    
        @Override
        public String get(String name) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rules/IvySpecificComponentMetadataRulesIntegrationTest.groovy

                ruleInvoked = true
                def descriptor = context.getDescriptor(IvyModuleDescriptor)
                assert descriptor.extraInfo.asMap() == [${declareNS('foo')}: "fooValue", ${declareNS('bar')}: "barValue"]
                assert descriptor.extraInfo.get('foo') == 'fooValue'
                assert descriptor.extraInfo.get('${ns('foo').namespace}', 'foo') == 'fooValue'
                assert descriptor.branch == 'someBranch'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  6. platforms/software/ivy/src/main/java/org/gradle/api/publish/ivy/internal/publication/DefaultIvyModuleDescriptorSpec.java

        @Override
        public void setBranch(@Nullable String branch) {
            this.branch = branch;
        }
    
        @Override
        public IvyExtraInfoSpec getExtraInfo() {
            return extraInfo;
        }
    
        @Override
        public void extraInfo(String namespace, String elementName, String value) {
            if (elementName == null) {
                throw new InvalidUserDataException("Cannot add an extra info element with null element name");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/dsl/org.gradle.api.publish.ivy.IvyModuleDescriptorSpec.xml

                </thead>
                <tr>
                    <td>branch</td>
                </tr>
                <tr>
                    <td>status</td>
                </tr>
                <tr>
                    <td>extraInfo</td>
                </tr>
            </table>
        </section>
        <section>
            <title>Methods</title>
            <table>
                <thead>
                    <tr>
                        <td>Name</td>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 995 bytes
    - Viewed (0)
  8. platforms/software/ivy/src/integTest/groovy/org/gradle/api/publish/ivy/IvyPublishDescriptorCustomizationKotlinDslIntegTest.groovy

                description.text() == "A concise description of my library"
                description.@homepage == 'http://www.example.com/library'
                extraInfo.size() == 2
                extraInfo[new QName('http://my.extra.info1', 'foo')] == 'fooValue'
                extraInfo[new QName('http://my.extra.info2', 'bar')] == 'barValue'
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  9. platforms/software/ivy/src/integTest/groovy/org/gradle/api/publish/ivy/IvyPublishDescriptorCustomizationIntegTest.groovy

                description.text() == "A concise description of my library"
                description.@homepage == 'http://www.example.com/library'
                extraInfo.size() == 2
                extraInfo[new QName('http://my.extra.info1', 'foo')] == 'fooValue'
                extraInfo[new QName('http://my.extra.info2', 'bar')] == 'barValue'
            }
        }
    
        def "can generate ivy.xml without publishing"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  10. platforms/software/ivy/src/test/groovy/org/gradle/api/publish/ivy/internal/publication/DefaultIvyExtraInfoSpecTest.groovy

    class DefaultIvyExtraInfoSpecTest extends Specification {
        def "can add extra info elements" () {
            def DefaultIvyExtraInfoSpec extraInfo = new DefaultIvyExtraInfoSpec()
    
            when:
            extraInfo.add("http://my.extra.info", "foo", "fooValue")
    
            then:
            extraInfo.asMap() == [ (new QName("http://my.extra.info", "foo")): "fooValue" ]
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 1.1K bytes
    - Viewed (0)
Back to top