Class CancelEntryEventArgs


  • public class CancelEntryEventArgs
    extends EntryEventArgs

    Event arguments for cancelable entry related events.

    • Constructor Detail

      • CancelEntryEventArgs

        public CancelEntryEventArgs​(ArchiveEntry entry)

        Initializes a new instance of the CancelEntryEventArgs class.

        Parameters:
        entry - Archive entry the event is raised for.
    • Method Detail

      • getCancel

        public final boolean getCancel()

        Gets a value indicating whether the event should be canceled.

        Returns:
        true if the event should be canceled; otherwise, false.
      • setCancel

        public final void setCancel​(boolean value)

        Sets a value indicating whether the event should be canceled.

        Parameters:
        value - true if the event should be canceled; otherwise, false.