Package org.sonatype.gshell.util

Examples of org.sonatype.gshell.util.NameValue


    @Option(name = "d", longName="directory", args=1)
    private File outputDirectory;

    @Option(name = "D", longName="define", args=1)
    protected void setProperty(final String input) {
        NameValue nv = NameValue.parse(input);
        props.setProperty(nv.name, nv.value);
    }
View Full Code Here


    @Option(name = "c", longName="catalog", args=1)
    private String catalog = "remote,local";

    @Option(name = "D", longName="define", args=1)
    protected void setProperty(final String input) {
        NameValue nv = NameValue.parse(input);
        props.setProperty(nv.name, nv.value);
    }
View Full Code Here

        if (props == null) {
            props = new Properties();
        }

        NameValue nv = NameValue.parse(input);
        props.setProperty(nv.name, nv.value);
    }
View Full Code Here

        if (props == null) {
            props = new Properties();
        }

        NameValue nv = NameValue.parse(input);
        props.setProperty(nv.name, nv.value);
    }
View Full Code Here

        if (props == null) {
            props = new Properties();
        }

        NameValue nv = NameValue.parse(input);
        props.setProperty("maven." + nv.name, nv.value);
    }
View Full Code Here

TOP

Related Classes of org.sonatype.gshell.util.NameValue

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.