Package de.xima.fc.common.project
Class ProjectChangeEvent
- java.lang.Object
-
- de.xima.fc.common.project.ProjectChangeEvent
-
- All Implemented Interfaces:
Serializable
public class ProjectChangeEvent extends Object implements Serializable
Payload for project change events.- Since:
- 8.5.0
- See Also:
ProjectChangeEvent, Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classProjectChangeEvent.EventType
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ProjectChangeEvent.EventTypeeventType()Gets the type of the change event.static ProjectChangeEventof(ProjectChangeEvent.EventType eventType, ProjectBaseData... projects)Creates a new project change event payload.List<ProjectBaseData>projects()Gets the projects that were changed.
-
-
-
Method Detail
-
of
public static ProjectChangeEvent of(ProjectChangeEvent.EventType eventType, ProjectBaseData... projects)
Creates a new project change event payload.- Parameters:
eventType- The type of the change event.projects- The changed projects.- Returns:
- The created payload.
-
eventType
public ProjectChangeEvent.EventType eventType()
Gets the type of the change event.- Returns:
- The event type.
-
projects
public List<ProjectBaseData> projects()
Gets the projects that were changed.- Returns:
- The changed projects.
-
-