Package jenkins.triggers
Class SCMTriggerItem.SCMTriggerItems
- java.lang.Object
-
- jenkins.triggers.SCMTriggerItem.SCMTriggerItems
-
- Enclosing interface:
- SCMTriggerItem
public static class SCMTriggerItem.SCMTriggerItems extends Object
Utilities.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SCMTriggerItem
asSCMTriggerItem(Item item)
See whether an item can be coerced toSCMTriggerItem
.static Collection<? extends SCM>
resolveMultiScmIfConfigured(SCM scm)
-
-
-
Method Detail
-
asSCMTriggerItem
@CheckForNull public static SCMTriggerItem asSCMTriggerItem(Item item)
See whether an item can be coerced toSCMTriggerItem
.- Parameters:
item
- any item- Returns:
- itself, if a
SCMTriggerItem
, or an adapter, if anSCMedItem
, else null
-
resolveMultiScmIfConfigured
@NonNull public static Collection<? extends SCM> resolveMultiScmIfConfigured(@CheckForNull SCM scm)
-
-