Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for getArgs (0.08 sec)

  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;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

                    is("C:\\myRootDirectory\\myTopDirectory/pom.xml"));
            assertThat(request.getCommandLine().getOptionValue('f'), is("C:\\myRootDirectory/my-child"));
            assertThat(request.getCommandLine().getArgs(), equalTo(new String[] {"prefix:3.0.0:bar", "validate"}));
    
            Path p = fs.getPath(request.getUserProperties().getProperty("valTopDirectory"));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (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
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
  4. 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) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  5. fastapi/_compat.py

            field_annotation_is_scalar(sub_annotation)
            for sub_annotation in get_args(annotation)
        )
    
    
    def is_bytes_or_nonable_bytes_annotation(annotation: Any) -> bool:
        if lenient_issubclass(annotation, bytes):
            return True
        origin = get_origin(annotation)
        if origin is Union or origin is UnionType:
            for arg in get_args(annotation):
                if lenient_issubclass(arg, bytes):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 12 09:36:32 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java

            }
            mergedItem.fields = fieldList.toArray(new String[fieldList.size()]);
    
            final List<String> tagList = new ArrayList<>(item1.getTags().length + item2.getTags().length);
            Collections.addAll(tagList, item1.getTags());
            for (final String tag : item2.getTags()) {
                if (!tagList.contains(tag)) {
                    tagList.add(tag);
                }
            }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 20.1K bytes
    - Viewed (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...)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:22:04 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                        buf.append(",\"labels\":[");
                        for (int i = 0; i < item.getTags().length; i++) {
                            if (i > 0) {
                                buf.append(',');
                            }
                            buf.append('\"').append(StringEscapeUtils.escapeJson(item.getTags()[i])).append('\"');
                        }
                        buf.append(']');
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  9. istioctl/pkg/workload/workload_test.go

    			verifyTestcaseOutput(t, Cmd(cli.NewFakeContext(nil)), c)
    		})
    	}
    }
    
    func verifyTestcaseOutput(t *testing.T, cmd *cobra.Command, c testcase) {
    	t.Helper()
    
    	var out bytes.Buffer
    	cmd.SetArgs(c.args)
    	cmd.SetOut(&out)
    	cmd.SetErr(&out)
    	cmd.SilenceUsage = true
    	if c.namespace != "" {
    		namespace = c.namespace
    	}
    
    	fErr := cmd.Execute()
    	output := out.String()
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 20:04:20 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/suggest/settings/ElevateWordSettings.java

            source.put(ELEVATE_WORD_READING, elevateWord.getReadings());
            source.put(ELEVATE_WORD_FIELDS, elevateWord.getFields());
            source.put(ELEVATE_WORD_TAGS, elevateWord.getTags());
            source.put(ELEVATE_WORD_ROLES, elevateWord.getRoles());
            source.put(FieldNames.TIMESTAMP, DateTimeFormatter.ISO_INSTANT.format(ZonedDateTime.now()));
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 4.9K bytes
    - Viewed (0)
Back to top