Package com.yahoo.config.application.api
Class Endpoint
java.lang.Object
com.yahoo.config.application.api.Endpoint
Represents an application- or instance-level endpoint in deployments.xml.
- An instance-level endpoint is global and can span multiple regions within a single instance.
- An application-level endpoint points can span multiple instances within a single region.
- Author:
- ogronnesby, mpolden
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
The level of targets in an endpointstatic class
A target of an endpoint -
Field Summary
-
Constructor Summary
ConstructorDescriptionEndpoint
(String endpointId, String containerId, Endpoint.Level level, List<Endpoint.Target> targets) -
Method Summary
Modifier and TypeMethodDescriptionThe container cluster this points toThe unique identifer of thisboolean
int
hashCode()
level()
The level of targets in thisList<com.yahoo.config.provision.RegionName>
regions()
The regions of this points totargets()
The targets this points totoString()
withTargets
(List<Endpoint.Target> targets) Returns a copy of this with targets set to given targets
-
Field Details
-
DEFAULT_ID
- See Also:
-
-
Constructor Details
-
Endpoint
public Endpoint(String endpointId, String containerId, Endpoint.Level level, List<Endpoint.Target> targets)
-
-
Method Details
-
endpointId
The unique identifer of this -
containerId
The container cluster this points to -
regions
The regions of this points to -
level
The level of targets in this -
targets
The targets this points to -
withTargets
Returns a copy of this with targets set to given targets -
equals
-
hashCode
public int hashCode() -
toString
-