public class StaplerReferer extends Object
Modifier and Type | Method and Description |
---|---|
static <T extends hudson.model.Item> |
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. |
@CheckForNull public static <T extends hudson.model.Item> T findItemFromRequest(Class<T> type)
StaplerRequest.findAncestorObject(java.lang.Class<T>)
except works also in configuration screens when a lazy-load section is newly added.Copyright © 2016–2017. All rights reserved.