public ServerConfiguration copy()

in src/main/java/org/apache/sling/maven/kickstart/run/ServerConfiguration.java [205:220]


    public ServerConfiguration copy() {
        final ServerConfiguration copy = new ServerConfiguration();
        // we do not copy the id
        copy.setRunmode(this.getRunmode());
        copy.setPort(this.getPort());
        copy.setContextPath(this.getContextPath());
        copy.setVmOpts(this.getVmOpts());
        copy.setDebug(this.debug);
        copy.setOpts(this.getOpts());
        copy.setInstances(1);
        copy.setFolder(this.getFolder());
        copy.setControlPort(this.getControlPort());
        copy.setStdOutFile(this.stdOutFile);
        copy.setAdditionalFeatureFile(this.additionalFeatureFile);
        return copy;
    }