My requirement here is to get the package zip file, check the content inside it, and based on the content present or condition (here my condition is if the component is published using a specific component template), send the package file to some incoming folder if the condition is true.
Solution 1: I predict we can get the package file using the classes which are used in deployment phase like 'PreCommitPhase' or 'CommitPhase'. But I am not sure if it is possible to override their implementations and is there any configuration which we need to mention in 'cd_deployer_conf.xml' or any other xml file for their implementations to get invoked.
Not sure if the above solution is feasible or not. Anyone having any idea about it please let me know. Or if you have any other solution please let me know that as well.