
org.snapscript.studio.agent.cli.CommandLine Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of snap-agent Show documentation
Show all versions of snap-agent Show documentation
Dynamic scripting for the JVM
The newest version!
package org.snapscript.studio.agent.cli;
import java.util.Collections;
import java.util.List;
import java.util.Map;
public class CommandLine {
private final List extends CommandOption> options;
private final Map values;
private final String[] arguments;
public CommandLine(List extends CommandOption> options, Map values, String[] arguments) {
this.options = Collections.unmodifiableList(options);
this.values = Collections.unmodifiableMap(values);
this.arguments = arguments;
}
public List extends CommandOption> getOptions(){
return options;
}
public Map getValues() {
return values;
}
public Object getValue(String name) {
return values.get(name);
}
public String[] getArguments(){
return arguments;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy