Package io.datarouter.storage.servertype
Class DatarouterServerTypeDetector
java.lang.Object
io.datarouter.storage.servertype.DatarouterServerTypeDetector
- All Implemented Interfaces:
ServerTypeDetector
@Singleton public class DatarouterServerTypeDetector extends Object implements ServerTypeDetector
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.datarouter.storage.servertype.ServerTypeDetector
ServerTypeDetector.NoOpServerTypeDetector, ServerTypeDetector.OnlyDevelopmentServerTypeDetector -
Constructor Summary
Constructors Modifier Constructor Description protectedDatarouterServerTypeDetector(DatarouterProperties datarouterProperties) -
Method Summary
Modifier and Type Method Description protected Set<String>getAdditionalProductionEnvironments()booleanmightBeDevelopment()booleanmightBeProduction()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.datarouter.storage.servertype.ServerTypeDetector
assertNotProductionServer
-
Constructor Details
-
Method Details
-
mightBeProduction
public boolean mightBeProduction()- Specified by:
mightBeProductionin interfaceServerTypeDetector
-
mightBeDevelopment
public boolean mightBeDevelopment()- Specified by:
mightBeDevelopmentin interfaceServerTypeDetector
-
getAdditionalProductionEnvironments
-