Class UpgradeStatus


  • public class UpgradeStatus
    extends java.lang.Object
    The Class UpgradeStatus.
    Author:
    Alejandro Galue
    • Field Detail

      • STATUS_FILE

        public static final java.lang.String STATUS_FILE
        The Constant STATUS_FILE.
        See Also:
        Constant Field Values
    • Method Detail

      • wasExecuted

        public boolean wasExecuted​(OnmsUpgrade upg)
        Was executed.
        Parameters:
        upg - the upgrade implementation class
        Returns:
        true, if successful
      • getLastExecutionTime

        public java.lang.String getLastExecutionTime​(OnmsUpgrade upg)
        Gets the last execution time.
        Parameters:
        upg - the upgrade implementation class
        Returns:
        the last execution time