Class ClusterFileSystemAddEvent

  • All Implemented Interfaces:
    IPortalEvent

    @StableMinor(version="16.0",
                 sinceVersion="6.0")
    public class ClusterFileSystemAddEvent
    extends FileSystemAddEvent
    Event raised when a file has been added and will propagate to the whole cluster.

    This event is raised only once in a portal cluster for each logical file. When the file change is replicated to other portal nodes, the FileSystemAddEvent is raised instead.

    Since:
    6.0.0
    Version:
    $Revision: 25808 $ $Date: 2023-07-04 15:20:55 -0300 (Tue, 04 Jul 2023) $
    See Also:
    FileSystemAddEvent
    • Constructor Detail

      • ClusterFileSystemAddEvent

        public ClusterFileSystemAddEvent​(IFile file)
        Creates a new cluster add filesystem event.
        Parameters:
        file - the affected file or folder.
        Since:
        8.0.0
      • ClusterFileSystemAddEvent

        @Deprecated
        public ClusterFileSystemAddEvent​(PortalFile file)
        Deprecated.
        since 8.0.0 replaced by ClusterFileSystemAddEvent(IFile)
        Default constructor.
        Parameters:
        file - The file to be added.
        Since:
        6.0.0
    • Method Detail

      • toString

        public java.lang.String toString()
        Description copied from interface: IPortalEvent
        Returns a string representation for this event. This representation is mostly suited for debugging and logging.
        Specified by:
        toString in interface IPortalEvent
        Overrides:
        toString in class FileSystemAddEvent
        Returns:
        a string representation for this event.