
com.github.raduciumag.shapeshift.config.ServerConfigBuilder Maven / Gradle / Ivy
package com.github.raduciumag.shapeshift.config;
import com.github.raduciumag.shapeshift.model.server.ServerType;
import java.util.Map;
public abstract class ServerConfigBuilder {
protected final ServerType type;
protected ServerConfigBuilder(final ServerType type) {
this.type = type;
}
public boolean canBuild(final ServerType type) {
if (this.type == null || type == null) {
return false;
}
return this.type == type;
}
public abstract C buildConfig(Map rawConfig);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy