Package com.github.dreamhead.moco.bootstrap.parser

Examples of com.github.dreamhead.moco.bootstrap.parser.SocketArgsParser


import com.github.dreamhead.moco.bootstrap.parser.SocketArgsParser;

public class SocketTask extends StartTask {
    public SocketTask(final String shutdownKey) {
        super(shutdownKey, new SocketArgsParser());
    }
View Full Code Here


        assertThat(args.getConfigurationFile().get(), is("foo.json"));
    }

    @Test
    public void should_parse_socket() {
        StartArgs args = new SocketArgsParser().parse(new String[]{"start", "-c", "foo.json"});
        assertThat(args.isSocket(), is(true));
    }
View Full Code Here

TOP

Related Classes of com.github.dreamhead.moco.bootstrap.parser.SocketArgsParser

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.