Examples of IntegerArgument


Examples of org.jnode.shell.syntax.IntegerArgument

        Files        = new FileArgument("files", Argument.OPTIONAL | Argument.MULTIPLE, help_files);
        Bytes        = new StringArgument("bytes", Argument.EXISTING | Argument.OPTIONAL, help_bytes);
        Lines        = new StringArgument("lines", Argument.EXISTING | Argument.OPTIONAL, help_lines);
        Follow       = new FlagArgument("follow", Argument.OPTIONAL, help_follow);
        FollowR      = new FlagArgument("followr", Argument.OPTIONAL, help_follow_retry);
        MaxUnchanged = new IntegerArgument("unchanged", Argument.OPTIONAL, help_unchanged);
        Sleep        = new IntegerArgument("sleep", Argument.OPTIONAL, help_sleep);
        Retry        = new FlagArgument("retry", Argument.OPTIONAL, help_retry);
        Quiet        = new FlagArgument("quiet", Argument.OPTIONAL, help_quiet);
        Verbose      = new FlagArgument("verbose", Argument.OPTIONAL, help_verbose);
        registerArguments(Files, Bytes, Lines, Follow, Retry, FollowR, MaxUnchanged, Sleep, Quiet, Verbose);
    }
View Full Code Here

Examples of org.jnode.shell.syntax.IntegerArgument

        argPath    = new FileArgument("path", Argument.EXISTING, help_path);
        argReadDec = new FlagArgument("human-read-dec", 0, help_read_dec);
        argReadBin = new FlagArgument("human-read-bin", 0, help_read_bin);
        argAll     = new FlagArgument("show-all", 0, help_all);
        argBlock1k = new FlagArgument("block-size-1k", 0, help_block_1k);
        argBlock   = new IntegerArgument("block-size", 0, help_block);
        registerArguments(argDevice, argPath, argReadDec, argReadBin, argAll, argBlock1k, argBlock);
    }
View Full Code Here

Examples of org.jnode.shell.syntax.IntegerArgument

    private final IntegerArgument argThreadID;
    private final FlagArgument argDebug;

    public KillCommand() {
        super(help_super);
        argThreadID = new IntegerArgument("threadId", Argument.MANDATORY, help_tid);
        argDebug    = new FlagArgument("debug", Argument.OPTIONAL, help_debug);
        registerArguments(argThreadID, argDebug);
    }
View Full Code Here

Examples of org.jnode.shell.syntax.IntegerArgument

    private final FlagArgument argTest;

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

Examples of org.jnode.shell.syntax.IntegerArgument

   
    private boolean up = true;
   
    public DebugCommand() {
        super(help_super);
        argPort = new IntegerArgument("port", Argument.OPTIONAL, help_port);
        registerArguments(argPort);
    }
View Full Code Here

Examples of org.jnode.shell.syntax.IntegerArgument

    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.IntegerArgument

    private final FlagArgument argUdp;

    public RemoteOutputCommand() {
        super(help_super);
        argAddress = new HostNameArgument("host", Argument.MANDATORY, help_addr);
        argPort    = new IntegerArgument("port", Argument.OPTIONAL, help_port);
        argUdp     = new FlagArgument("udp", Argument.OPTIONAL, help_udp);
        registerArguments(argAddress, argPort, argUdp);
    }
View Full Code Here

Examples of org.jnode.shell.syntax.IntegerArgument

   
    private IntegerArgument argSeconds;
   
    public SleepCommand() {
        super(help_super);
        argSeconds = new IntegerArgument("seconds", Argument.MANDATORY, help_sec);
        registerArguments(argSeconds);
    }
View Full Code Here

Examples of org.jnode.shell.syntax.IntegerArgument

    private InputHistory history;


    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.IntegerArgument

    private final LongArgument argMinTotalSize;
    private final StringArgument className;

    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.