Class ProjectEventHandler
- java.lang.Object
-
- ca.corefacility.bioinformatics.irida.events.ProjectEventHandler
-
public class ProjectEventHandler extends java.lang.Object
Handles the creation ofProjectEvent
s from methods annotated withLaunchesProjectEvent
- See Also:
LaunchesProjectEvent
-
-
Constructor Summary
Constructors Constructor Description ProjectEventHandler(ProjectEventRepository eventRepository, ProjectSampleJoinRepository psjRepository, ProjectRepository projectRepository, SampleRepository sampleRepository)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delegate(MethodEvent methodEvent)
Handle translation of aMethodEvent
into the correctProjectEvent
subclass
-
-
-
Constructor Detail
-
ProjectEventHandler
public ProjectEventHandler(ProjectEventRepository eventRepository, ProjectSampleJoinRepository psjRepository, ProjectRepository projectRepository, SampleRepository sampleRepository)
-
-
Method Detail
-
delegate
public void delegate(MethodEvent methodEvent)
Handle translation of aMethodEvent
into the correctProjectEvent
subclass- Parameters:
methodEvent
- Information from a method return annotated withLaunchesProjectEvent
-
-