For internal code use canPromote(String) with the name of the process that will be promoted instead. boolean, canPromote(String processName).
Index (Jenkins promoted builds plugin 945.v597f5c6a_d3fd API)
javadoc.jenkins.io › plugin › index-all
Adds a new promotion process of the given name. all() - Static method in class hudson.plugins.promoted_builds.PromotionCondition. Returns all the registered ...