org.beifengtz.jvmm.server.entity.conf.JvmmServerConf Maven / Gradle / Ivy
Show all versions of jvmm-server Show documentation
package org.beifengtz.jvmm.server.entity.conf;
/**
*
* Description: TODO
*
*
* Created in 11:25 2022/9/7
*
* @author beifengtz
*/
@SuppressWarnings("unchecked")
public class JvmmServerConf {
private int port = 5010;
private boolean adaptivePort = true;
private AuthOptionConf auth = new AuthOptionConf();
private int maxChunkSize = 52428800;
public int getPort() {
return port;
}
public T setPort(int port) {
this.port = port;
return (T)this;
}
public boolean isAdaptivePort() {
return adaptivePort;
}
public T setAdaptivePort(boolean adaptivePort) {
this.adaptivePort = adaptivePort;
return (T)this;
}
public AuthOptionConf getAuth() {
return auth;
}
public T setAuth(AuthOptionConf auth) {
this.auth = auth;
return (T)this;
}
public int getMaxChunkSize() {
return maxChunkSize;
}
public T setMaxChunkSize(int maxChunkSize) {
this.maxChunkSize = maxChunkSize;
return (T)this;
}
}