Class MaterialAddedEvent

java.lang.Object
com.university.bookstore.observer.MaterialAddedEvent
All Implemented Interfaces:
MaterialEvent

public class MaterialAddedEvent extends Object implements MaterialEvent
Event that occurs when a material is added to the system.
Since:
2024-09-15
Version:
3.0
Author:
Navid Mohaghegh
  • Constructor Details

    • MaterialAddedEvent

      public MaterialAddedEvent(Material material)
      Creates a new material added event.
      Parameters:
      material - the material that was added
      Throws:
      IllegalArgumentException - if material is null
  • Method Details