Package org.jnode.shell.syntax

Examples of org.jnode.shell.syntax.DeviceArgument


    @SuppressWarnings("unused")
    private boolean all;
   
    public DFCommand() {
        super(help_super);
        argDevice  = new DeviceArgument("device", Argument.EXISTING, help_device);
        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);
View Full Code Here


    private final StringArgument argValue;

    public WLanCtlCommand() {
        super(help_super);
        argSetEssid = new FlagArgument("setEssid", Argument.OPTIONAL, help_set);
        argDevice   = new DeviceArgument("device", Argument.MANDATORY, help_dev, WirelessNetDeviceAPI.class);
        argValue    = new StringArgument("value", Argument.OPTIONAL, help_value);
        registerArguments(argSetEssid, argDevice, argValue);
    }
View Full Code Here

        super(help_super);
        argAdd     = new FlagArgument("add", Argument.OPTIONAL, help_add);
        argDel     = new FlagArgument("del", Argument.OPTIONAL, help_del);
        argTarget  = new IPv4AddressArgument("target", Argument.OPTIONAL, help_target);
        argGateway = new IPv4HostArgument("gateway", Argument.OPTIONAL, help_gateway);
        argDevice  = new DeviceArgument("device", Argument.OPTIONAL, help_device);
        registerArguments(argAdd, argDel, argDevice, argGateway, argTarget);
    }
View Full Code Here

   
    private final DeviceArgument argDevice;

    public DhcpCommand() {
        super(help_super);
        argDevice = new DeviceArgument("device", Argument.MANDATORY, help_device, NetDeviceAPI.class);
        registerArguments(argDevice);
    }
View Full Code Here

    private final IPv4AddressArgument argSubnetMask;


    public IfconfigCommand() {
        super(help_super);
        argDevice     = new DeviceArgument("device", Argument.OPTIONAL, help_device, NetDeviceAPI.class);
        argIPAddress  = new IPv4AddressArgument("ipAddress", Argument.OPTIONAL, help_ip);
        argSubnetMask = new IPv4AddressArgument("subnetMask", Argument.OPTIONAL, help_subnet);
        registerArguments(argDevice, argIPAddress, argSubnetMask);
    }
View Full Code Here

   
    private final DeviceArgument argDevice;

    public BootpCommand() {
        super(help_super);
        argDevice = new DeviceArgument("device", Argument.MANDATORY, help_device, NetDeviceAPI.class);
        registerArguments(argDevice);
    }
View Full Code Here

TOP

Related Classes of org.jnode.shell.syntax.DeviceArgument

Copyright © 2018 www.massapicom. 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.