I have been browsing around and here are some conclusions:
- Build Flow is an AbstractProject, but I don't know about Literate, I wasn't able to find the relevant code.
- Up until very recently, AbstractProject was the only place to find getTriggers()
- ParameterizedJobMixIn.ParameterizedJob is now the highest available interface for providing getTriggers(). However, this has only been available for a month in github, and only provides getTriggers since 1.558 (ie, latest release). Are you OK with having to use 1.558+ version of Jenkins ? On a side note, it does not provide getTrigger(project, class) so I will need to work around that limitation... But it is possible.