Class StaplerReferer

java.lang.Object
org.jenkinsci.plugins.workflow.util.StaplerReferer

public class StaplerReferer extends Object
JENKINS-19413 workaround. Will be deleted in the future.
  • Method Details

    • findItemFromRequest

      @CheckForNull public static <T extends Item> T findItemFromRequest(Class<T> type)
      Like StaplerRequest.findAncestorObject(java.lang.Class<T>) except works also in configuration screens when a lazy-load section is newly added.