Package com.sun.grid.jgdi.configuration

Examples of com.sun.grid.jgdi.configuration.ARA


    //[-u user_list]
    @OptionAnnotation(value = "-u", extra = OptionAnnotation.MAX_ARG_VALUE)
    public void setUserList(final OptionInfo oi) throws JGDIException {
        for (String user : oi.getArgs()) {
            if (user.startsWith("!")) {
                ARA xacl = new ARAImpl(user.substring(1));
                ar.addXacl(xacl);
            } else {
                ARA acl = new ARAImpl(user);
                ar.addAcl(acl);
            }
        }
        oi.optionDone();
    }
View Full Code Here

TOP

Related Classes of com.sun.grid.jgdi.configuration.ARA

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.