com.deliver8r.maven.servicewrapper.JavaIO Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of servicewrapper-maven-plugin Show documentation
Show all versions of servicewrapper-maven-plugin Show documentation
Maven Plugin for building Service Wrappers for Java Applications
package com.deliver8r.maven.servicewrapper;
import org.apache.maven.plugin.MojoFailureException;
public class JavaIO {
public Integer bufferSize;
public Boolean useThread;
public void setBufferSize(Integer bufferSize) throws MojoFailureException {
if (bufferSize != 0 && (bufferSize < 1024 || bufferSize > 10485760))
throw new MojoFailureException("java io buffersize must be 0 or 1024-10485760");
this.bufferSize = bufferSize;
}
}