Class MoveResourceChange

    • Constructor Detail

      • MoveResourceChange

        public MoveResourceChange​(IResource source,
                                  IContainer target)
        Creates the change.
        Parameters:
        source - the resource to move
        target - the container the resource is moved to. An existing resource at the destination will be replaced.
      • MoveResourceChange

        protected MoveResourceChange​(IResource source,
                                     IContainer target,
                                     long stampToRestore,
                                     Change restoreSourceChange)
        Creates the change.
        Parameters:
        source - the resource to move
        target - the container the resource is moved to. An existing resource at the destination will be replaced.
        stampToRestore - the stamp to restore on the moved resource
        restoreSourceChange - the change to restore a resource at the source or null if no resource needs to be resourced.