Package org.ivoa.dm.vosi.availability
Class Availability.AvailabilityBuilder
java.lang.Object
org.ivoa.dm.vosi.availability.Availability.AvailabilityBuilder
- Enclosing class:
- Availability
A builder class for Availability, mainly for use in the functional builder pattern.
-
Field Summary
FieldsModifier and TypeFieldDescriptionIndicates whether the service is currently available.The instant at which the service is scheduled to become available again after a period of unavailability.The instant at which the service is next scheduled to become unavailable.A textual note concerning availability.The instant at which the service last became available. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
available
Indicates whether the service is currently available. -
upSince
The instant at which the service last became available. -
downAt
The instant at which the service is next scheduled to become unavailable. -
backAt
The instant at which the service is scheduled to become available again after a period of unavailability. -
note
A textual note concerning availability.
-
-
Constructor Details
-
AvailabilityBuilder
public AvailabilityBuilder()
-
-
Method Details
-
create
create a Availability from this builder.- Returns:
- an object initialized from the builder.
-