Class OMAGServerInstanceHistory

    • Constructor Detail

      • OMAGServerInstanceHistory

        public OMAGServerInstanceHistory()
        Default constructor for Jackson
      • OMAGServerInstanceHistory

        public OMAGServerInstanceHistory​(Date startTime,
                                         Date endTime)
        Constructor used to create the history.
        Parameters:
        startTime - time the server instance started
        endTime - time the server instance ended.
    • 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
      • toString

        public String toString()
        JSON like toString method
        Overrides:
        toString in class Object
        Returns:
        string representing the local variables