Class ScenarioRenameDeleteMoveInstance

  • All Implemented Interfaces:
    ScenarioInstance

    public class ScenarioRenameDeleteMoveInstance
    extends java.lang.Object
    implements ScenarioInstance
    This is an instance of a rename, delete, move scenario triggered by a rename of a file matching a specified pattern.

    a) Original file is renamed. Typically with an obscure name. b) Renamed file is deleted via delete command or via deleteOnClose flag and close operation. c) Temp file is moved into original file location.

    If this filter is active then this is what happens. a) Original file is renamed: - File is renamed. b) Renamed file is deleted via delete command or via deleteOnClose flag and close operation: - File is deleted. c) Temp file is moved into original file location - Scenario fires - Deleted file is restored. - Restored file is renamed to it's original name. - Content from file that must be moved is copied to restored file. - File that must be moved is deleted.

    • Constructor Detail

      • ScenarioRenameDeleteMoveInstance

        public ScenarioRenameDeleteMoveInstance()
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • setTimeout

        public void setTimeout​(long timeout)
      • getTimeout

        public long getTimeout()
      • setDeleteBackup

        public void setDeleteBackup​(boolean deleteBackup)
      • isDeleteBackup

        public boolean isDeleteBackup()