public class Availability extends Object
Constructor and Description |
---|
Availability(int delay)
Constructor.
|
Availability(int delay,
int duration)
Constructor.
|
Availability(int delay,
int duration,
String comment)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getComment()
Returns additional information about the time of callback.
|
int |
getDelay()
Returns the time the service is expected to be unavailable.
|
int |
getDuration()
Returns the time the service will be available.
|
Series<Parameter> |
getParameters()
Returns the list of other parameters.
|
void |
setComment(String comment)
Sets additional information about the time of callback.
|
void |
setDelay(int delay)
Sets the time the service is expected to be unavailable.
|
void |
setDuration(int duration)
Sets the time the service will be available.
|
void |
setParameters(Series<Parameter> parameters)
Sets the list of other parameters.
|
public Availability(int delay)
delay
- The time the service is expected to be unavailable.public Availability(int delay, int duration)
delay
- The time the service is expected to be unavailable.duration
- The time the service will be available.public Availability(int delay, int duration, String comment)
delay
- The time the service is expected to be unavailable.duration
- The time the service will be available.comment
- Additional information about the time of callback.public String getComment()
public int getDelay()
public int getDuration()
public Series<Parameter> getParameters()
public void setComment(String comment)
comment
- Additional information about the time of callback.public void setDelay(int delay)
delay
- The time the service is expected to be unavailable.public void setDuration(int duration)
duration
- The time the service will be available.Copyright © 2005–2013. All rights reserved.