Class InspectController

    • Constructor Detail

      • InspectController

        public InspectController()
    • Method Detail

      • getUniqueid

        public String getUniqueid()
      • setUniqueid

        public void setUniqueid​(String uniqueid)
      • getSnapshotIDs

        public List<String> getSnapshotIDs()
      • setSnapshotIDs

        public void setSnapshotIDs​(List<String> snapshotIDs)
      • getCurrentSnapshotID

        public String getCurrentSnapshotID()
        returns the current snapshot id form the workflow instance.
        Returns:
      • setCurrentSnapshotID

        public void setCurrentSnapshotID​(String currentSnapshotID)
      • getTime

        public String getTime​(String id)
        This method returns the snapshot timestamp by a snapshot id.
        Parameters:
        id -
        Returns:
      • loadSnapshotIDs

        public void loadSnapshotIDs()
        This method loads all existing snapshot ids of a given unqiueID

        The result list is sorted creation date descending (newest snapshot first)

        The method also verifies the actual snapshot in the workflow instance and creates an indicator

      • restoreSnapshot

        public void restoreSnapshot​(String id)
        This method restores a snapshot by its ID
      • deleteSnapshot

        public void deleteSnapshot​(String id)
        This method deletes a snapshot by its ID