Package io.datarouter.storage.servertype
Class ServerTypeDetector.OnlyDevelopmentServerTypeDetector
java.lang.Object
io.datarouter.storage.servertype.ServerTypeDetector.OnlyDevelopmentServerTypeDetector
- All Implemented Interfaces:
ServerTypeDetector
- Enclosing interface:
- ServerTypeDetector
public static class ServerTypeDetector.OnlyDevelopmentServerTypeDetector 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 Constructor Description OnlyDevelopmentServerTypeDetector() -
Method Summary
Modifier and Type Method Description 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
-
OnlyDevelopmentServerTypeDetector
public OnlyDevelopmentServerTypeDetector()
-
-
Method Details
-
mightBeProduction
public boolean mightBeProduction()- Specified by:
mightBeProductionin interfaceServerTypeDetector
-
mightBeDevelopment
public boolean mightBeDevelopment()- Specified by:
mightBeDevelopmentin interfaceServerTypeDetector
-