Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 14 for getArgs (0.07 seconds)

  1. compat/maven-embedder/src/main/java/org/apache/maven/cli/CliRequest.java

        CliRequest(String[] args, ClassWorld classWorld) {
            this.args = args;
            this.classWorld = classWorld;
            this.request = new DefaultMavenExecutionRequest();
        }
    
        public String[] getArgs() {
            return args;
        }
    
        public CommandLine getCommandLine() {
            return commandLine;
        }
    
        public ClassWorld getClassWorld() {
            return classWorld;
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Nov 08 08:49:11 GMT 2024
    - 2.8K bytes
    - Click Count (0)
  2. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

            assertEquals("C:\\myRootDirectory/my-child", request.getCommandLine().getOptionValue('f'));
            assertArrayEquals(
                    new String[] {"prefix:3.0.0:bar", "validate"},
                    request.getCommandLine().getArgs());
    
            Path p = fs.getPath(request.getUserProperties().getProperty("valTopDirectory"));
            assertEquals("C:\\myRootDirectory\\myTopDirectory\\pom.xml", p.toString());
        }
    
        @Test
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 30.9K bytes
    - Click Count (0)
  3. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

            CommandLine.Builder commandLineBuilder = new CommandLine.Builder();
    
            // the args are easy, CLI only since maven.config file can only contain options
            for (String arg : mavenCli.getArgs()) {
                commandLineBuilder.addArg(arg);
            }
    
            /* Although this looks wrong in terms of order Commons CLI stores the value of options in
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Oct 27 13:24:03 GMT 2025
    - 78.1K bytes
    - Click Count (0)
  4. fastapi/_compat/shared.py

        origin = get_origin(annotation)
        if origin is Union or origin is UnionType:
            return any(field_annotation_is_complex(arg) for arg in get_args(annotation))
    
        if origin is Annotated:
            return field_annotation_is_complex(get_args(annotation)[0])
    
        return (
            _annotation_is_complex(annotation)
            or _annotation_is_complex(origin)
            or hasattr(origin, "__pydantic_core_schema__")
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  5. cmd/endpoint-ellipses.go

    		}
    		s := endpointSet{
    			endpoints:  args,
    			setIndexes: setIndexes,
    		}
    		setArgs = s.Get()
    	} else {
    		s, err := parseEndpointSet(setDriveCount, args...)
    		if err != nil {
    			return nil, err
    		}
    		setArgs = s.Get()
    	}
    
    	uniqueArgs := set.NewStringSet()
    	for _, sargs := range setArgs {
    		for _, arg := range sargs {
    			if uniqueArgs.Contains(arg) {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 14.7K bytes
    - Click Count (0)
  6. impl/maven-core/src/test/java/org/apache/maven/classrealm/DefaultClassRealmManagerTest.java

            assertEquals("project>modelGroup1:modelArtifact1:modelVersion1", classRealm.getId());
            assertEquals(1, classRealm.getURLs().length);
            assertTrue(
                    classRealm.getURLs()[0].getPath().endsWith("local/repository/some/path"),
                    "ClassRealm URL should end with local repository path");
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  7. internal/logger/reqinfo.go

    			updated = true
    			break
    		}
    	}
    	if !updated {
    		// Append to the end of tags list
    		r.tags = append(r.tags, KeyVal{key, val})
    	}
    	return r
    }
    
    // GetTags - returns the user defined tags
    func (r *ReqInfo) GetTags() []KeyVal {
    	if r == nil {
    		return nil
    	}
    	r.RLock()
    	defer r.RUnlock()
    	return append(make([]KeyVal, 0, len(r.tags)), r.tags...)
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Mar 30 00:56:02 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  8. fastapi/_compat/v2.py

    from pydantic_core import CoreSchema as CoreSchema
    from pydantic_core import PydanticUndefined, PydanticUndefinedType
    from pydantic_core import Url as Url
    from typing_extensions import Literal, get_args, get_origin
    
    try:
        from pydantic_core.core_schema import (
            with_info_plain_validator_function as with_info_plain_validator_function,
        )
    except ImportError:  # pragma: no cover
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 19.1K bytes
    - Click Count (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/ServeDocs.java

                builder.getMainModule().set("jdk.httpserver");
                builder.setStandardOutput(System.out);
                builder.setErrorOutput(System.err);
                builder.setArgs(Arrays.asList("-p", getPort().get(), "-d", getDocsDirectory().get().getAsFile().getAbsolutePath()));
                registry.start(getPath(), DeploymentRegistry.ChangeBehavior.RESTART, JavaApplicationHandle.class, builder);
            }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Apr 18 12:38:47 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/ClassPathUtil.java

      }
    
      /** Returns the URLs in the class path. */
      static URL[] getClassPathUrls() {
        return ClassPathUtil.class.getClassLoader() instanceof URLClassLoader
            ? ((URLClassLoader) ClassPathUtil.class.getClassLoader()).getURLs()
            : parseJavaClassPath();
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2.3K bytes
    - Click Count (0)
Back to Top