Examples of StringArgument


Examples of org.jnode.shell.syntax.StringArgument

    private final FlagArgument argTest;

    public DisassembleCommand() {
        super(help_super);
        argClass  = new ClassNameArgument("className", Argument.MANDATORY, help_class);
        argMethod = new StringArgument("methodName", Argument.OPTIONAL, help_method);
        argLevel  = new IntegerArgument("level", Argument.OPTIONAL, 0, maxLevel, help_level);
        argTest   = new FlagArgument("test", Argument.OPTIONAL, help_test);
        registerArguments(argClass, argMethod, argLevel, argTest);
    }
View Full Code Here

Examples of org.jnode.shell.syntax.StringArgument

    private final StringArgument argArgs;

    public JavaCommand() {
        super(help_super);
        argClass = new ClassNameArgument("className", Argument.MANDATORY, help_class);
        argArgs  = new StringArgument("arg", Argument.OPTIONAL | Argument.MULTIPLE, help_args);
        registerArguments(argArgs, argClass);
    }
View Full Code Here

Examples of org.jnode.shell.syntax.StringArgument

    private final StringArgument Args;
   
    public TimeCommand() {
        super(help_super);
        Alias = new AliasArgument("alias", Argument.MANDATORY, help_alias);
        Args  = new StringArgument("args", Argument.MULTIPLE, help_args);
        registerArguments(Alias, Args);
    }
View Full Code Here

Examples of org.jnode.shell.syntax.StringArgument

    private final StringArgument argName;
    private final StringArgument argSuffix;
   
    public BasenameCommand() {
        super(help_super);
        argName   = new StringArgument("name", Argument.MANDATORY, help_name);
        argSuffix = new StringArgument("suffix", Argument.OPTIONAL, help_suffix);
        registerArguments(argName, argSuffix);
    }
View Full Code Here

Examples of org.jnode.shell.syntax.StringArgument

   
    private final StringArgument argName;
   
    public DirnameCommand() {
        super(help_super);
        argName = new StringArgument("name", Argument.MANDATORY, help_name);
        registerArguments(argName);
    }
View Full Code Here

Examples of org.jnode.shell.syntax.StringArgument


    public HistoryCommand() {
        super(help_super);
        argIndex  = new IntegerArgument("index", Argument.OPTIONAL, help_index);
        argPrefix = new StringArgument("prefix", Argument.OPTIONAL, help_prefix);
        argTest   = new FlagArgument("test", Argument.OPTIONAL, help_test);
        registerArguments(argIndex, argPrefix, argTest);
    }
View Full Code Here

Examples of org.jnode.shell.syntax.StringArgument

        argLoad      = new FlagArgument("load", Argument.OPTIONAL, help_load);
        argReload    = new FlagArgument("reload", Argument.OPTIONAL, help_reload);
        argUnload    = new FlagArgument("unload", Argument.OPTIONAL, help_unload);
        argLoaderUrl = new URLArgument("loader", Argument.OPTIONAL, help_url);
        argPluginID  = new PluginArgument("plugin", Argument.OPTIONAL, help_plugin);
        argVersion   = new StringArgument("version", Argument.OPTIONAL, help_version);
        registerArguments(argPluginID, argLoad, argReload, argUnload,
                argLoaderUrl, argVersion);
    }
View Full Code Here

Examples of org.jnode.shell.syntax.StringArgument

    private final StringArgument argArgs;
   
    public RunCommand() {
        super(help_super);
        argFile =  new FileArgument("file", Argument.MANDATORY | Argument.EXISTING, help_file);
        argArgs = new StringArgument("args", Argument.OPTIONAL | Argument.MULTIPLE, help_args);
        registerArguments(argFile, argArgs);
    }
View Full Code Here

Examples of org.jnode.shell.syntax.StringArgument

   
    public SetCommand() {
        super(help_super);
        keyArg   = new PropertyNameArgument("key", Argument.OPTIONAL, help_key);
        skeyArg  = new ShellPropertyNameArgument("skey", Argument.OPTIONAL, help_skey);
        valueArg = new StringArgument("value", Argument.OPTIONAL, help_value);
        shellArg = new FlagArgument("shell", Argument.OPTIONAL + Argument.SINGLE, help_shell);
        registerArguments(keyArg, skeyArg, valueArg, shellArg);
    }
View Full Code Here

Examples of org.jnode.shell.syntax.StringArgument

    public OnHeapCommand() {
        super(HELP_SUPER);
        argMinInstanceCount = new IntegerArgument("minCount", Argument.OPTIONAL, 1, Integer.MAX_VALUE, HELP_INST);
        argMinTotalSize     = new LongArgument("minTotalSize", Argument.OPTIONAL, 1L, Long.MAX_VALUE, HELP_SIZE);
        className           = new StringArgument("className", Argument.OPTIONAL | Argument.MULTIPLE, HELP_CLASSNAME);
        registerArguments(argMinInstanceCount, argMinTotalSize, className);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.