Package io.datarouter.storage.servertype
Class SingleServerType
java.lang.Object
io.datarouter.storage.servertype.SingleServerType
- All Implemented Interfaces:
io.datarouter.enums.Displayable,io.datarouter.enums.DisplayablePersistentString,io.datarouter.enums.PersistentString,ServerType,Comparable<ServerType>
-
Field Summary
Fields inherited from interface io.datarouter.storage.servertype.ServerType
ALL, DEV, UNKNOWN -
Constructor Summary
ConstructorsConstructorDescriptionSingleServerType(String persistentString, boolean isProduction, boolean isHttpExposed) -
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(ServerType other) booleaninthashCode()booleanboolean
-
Constructor Details
-
SingleServerType
-
-
Method Details
-
getPersistentString
- Specified by:
getPersistentStringin interfaceio.datarouter.enums.PersistentString- Specified by:
getPersistentStringin interfaceServerType
-
isProduction
public boolean isProduction()- Specified by:
isProductionin interfaceServerType
-
isHttpExposed
public boolean isHttpExposed()- Specified by:
isHttpExposedin interfaceServerType
-
getDisplay
- Specified by:
getDisplayin interfaceio.datarouter.enums.Displayable- Specified by:
getDisplayin interfaceServerType
-
hashCode
public int hashCode() -
equals
-
compareTo
- Specified by:
compareToin interfaceComparable<ServerType>
-