Package io.datarouter.storage.servertype
Class DatarouterServerTypeDetector
java.lang.Object
io.datarouter.storage.servertype.DatarouterServerTypeDetector
- All Implemented Interfaces:
ServerTypeDetector
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.datarouter.storage.servertype.ServerTypeDetector
ServerTypeDetector.NoOpServerTypeDetector, ServerTypeDetector.OnlyDevelopmentServerTypeDetector -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDatarouterServerTypeDetector(DatarouterServerTypeSupplier serverType, DatarouterEnvironmentTypeSupplier environmentType, EnvironmentName environmentName) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanMethods 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
-
DatarouterServerTypeDetector
@Inject protected DatarouterServerTypeDetector(DatarouterServerTypeSupplier serverType, DatarouterEnvironmentTypeSupplier environmentType, EnvironmentName environmentName)
-
-
Method Details
-
mightBeProduction
public boolean mightBeProduction()- Specified by:
mightBeProductionin interfaceServerTypeDetector
-
mightBeDevelopment
public boolean mightBeDevelopment()- Specified by:
mightBeDevelopmentin interfaceServerTypeDetector
-
getAdditionalProductionEnvironments
-
getAdditionalDevelopmentEnvironmentsTypes
-