Package org.jboss.as.plugin.server.Arguments

Examples of org.jboss.as.plugin.server.Arguments.Argument


    public List<String> getJvmArgs() {
        return jvmArgs.asList();
    }

    public ServerConfig addJvmArg(final String arg) {
        final Argument argument = Arguments.parse(arg);
        if (SERVER_BASE_DIR.equals(argument.getKey())) {
            baseDir = argument.getValue();
        } else if (SERVER_CONFIG_DIR.equals(argument.getKey())) {
            configDir = argument.getValue();
        } else if (SERVER_LOG_DIR.equals(argument.getKey())) {
            logDir = argument.getValue();
        }
        jvmArgs.add(argument);
        return this;
    }
View Full Code Here


    public List<String> getServerArgs() {
        return serverArgs.asList();
    }

    public ServerConfig addServerArg(final String arg) {
        final Argument argument = Arguments.parse(arg);
        if (SERVER_BASE_DIR.equals(argument.getKey())) {
            baseDir = argument.getValue();
        } else if (SERVER_CONFIG_DIR.equals(argument.getKey())) {
            configDir = argument.getValue();
        } else if (SERVER_LOG_DIR.equals(argument.getKey())) {
            logDir = argument.getValue();
        }
        serverArgs.add(argument);
        return this;
    }
View Full Code Here

TOP

Related Classes of org.jboss.as.plugin.server.Arguments.Argument

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.