Class OMAGServerInstanceHistory
- java.lang.Object
-
- org.odpi.openmetadata.platformservices.properties.OMAGServerInstanceHistory
-
- All Implemented Interfaces:
Serializable
public class OMAGServerInstanceHistory extends Object implements Serializable
OMAGServerInstanceHistory documents the start and end of a server instance.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OMAGServerInstanceHistory()Default constructor for JacksonOMAGServerInstanceHistory(Date startTime, Date endTime)Constructor used to create the history.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DategetEndTime()Return the time when this instance of the server ended.DategetStartTime()Return the time that this instance of the server started.voidsetEndTime(Date endTime)Set up the time when this instance of the server ended.voidsetStartTime(Date startTime)Set up the time that this instance of the server started.StringtoString()JSON like toString method
-
-
-
Method Detail
-
getStartTime
public Date getStartTime()
Return the time that this instance of the server started.- Returns:
- date/time object
-
setStartTime
public void setStartTime(Date startTime)
Set up the time that this instance of the server started.- Parameters:
startTime- date/time object
-
getEndTime
public Date getEndTime()
Return the time when this instance of the server ended.- Returns:
- date/time object
-
setEndTime
public void setEndTime(Date endTime)
Set up the time when this instance of the server ended.- Parameters:
endTime- date/time object
-
-