stable

Clone or download

Read-only

Extract trigger siblings method from artifact fo dedicated objects

This is part of story #18857 define any type of artifact as children No functional change expected here. Triggers must be defined and work as before. This refactoring will help us to isolate triggers related code. Change-Id: If2d627977b3632f98ddf30755bbb05cdaf061151

Modified Files

Name
M plugins/tracker/include/Tracker/Artifact/Artifact.php +0 −24 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/ArtifactsDeletion/ArchiveAndDeleteArtifactTaskBuilder.php +10 −1 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/dao/Tracker_ArtifactDao.class.php +0 −24 Go to diff View file
M plugins/tracker/include/Tracker/TrackerFactory.class.php +6 −0 Go to diff View file
M plugins/tracker/include/Workflow/Trigger/RuleProcessor/AllOfStrategy.class.php +18 −11 Go to diff View file
M plugins/tracker/include/Workflow/Trigger/RulesProcessor.class.php +19 −5 Go to diff View file
A plugins/tracker/include/Workflow/Trigger/Siblings/SiblingsDao.php +52 −0 Go to diff View file
A plugins/tracker/include/Workflow/Trigger/Siblings/SiblingsRetriever.php +55 −0 Go to diff View file
M plugins/tracker/include/Workflow/WorkflowFactory.class.php +6 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Workflow/Trigger/Rules/WorkflowTriggerRulesProcessorTest.php +3 −0 Go to diff View file
M plugins/tracker/tests/unit/Workflow/Trigger/Strategy/Tracker_Workflow_Trigger_RulesProcessor_AllOfStrategyTest.php +20 −8 Go to diff View file
M plugins/tracker/tests/unit/Workflow/Trigger/Tracker_Workflow_Trigger_RulesProcessor_GeneralTest.php +2 −0 Go to diff View file