Package org.kiwiproject.registry.model
Class ServicePaths
- java.lang.Object
-
- org.kiwiproject.registry.model.ServicePaths
-
public final class ServicePaths extends Object
Model defining various known paths used by services
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classServicePaths.ServicePathsBuilder
-
Field Summary
Fields Modifier and Type Field Description static StringDEFAULT_HEALTHCHECK_PATHThe default path to a health check page for the service.static StringDEFAULT_HOMEPAGE_PATHThe default path to the main API of the service.static StringDEFAULT_STATUS_PATHThe default path to a status page for the service.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ServicePaths.ServicePathsBuilderbuilder()booleanequals(Object o)StringgetHealthCheckPath()StringgetHomePagePath()StringgetStatusPath()inthashCode()StringtoString()
-
-
-
Field Detail
-
DEFAULT_HOMEPAGE_PATH
public static final String DEFAULT_HOMEPAGE_PATH
The default path to the main API of the service.- See Also:
- Constant Field Values
-
DEFAULT_STATUS_PATH
public static final String DEFAULT_STATUS_PATH
The default path to a status page for the service.- See Also:
- Constant Field Values
-
DEFAULT_HEALTHCHECK_PATH
public static final String DEFAULT_HEALTHCHECK_PATH
The default path to a health check page for the service.- See Also:
- Constant Field Values
-
-
Method Detail
-
builder
public static ServicePaths.ServicePathsBuilder builder()
-
getHomePagePath
public String getHomePagePath()
-
getStatusPath
public String getStatusPath()
-
getHealthCheckPath
public String getHealthCheckPath()
-
-