Package jenkins.triggers
Class SCMTriggerItem.SCMTriggerItems
java.lang.Object
jenkins.triggers.SCMTriggerItem.SCMTriggerItems
- Enclosing interface:
- SCMTriggerItem
Utilities.
-
Method Summary
Modifier and TypeMethodDescriptionstatic SCMTriggerItem
asSCMTriggerItem
(Item item) See whether an item can be coerced toSCMTriggerItem
.static Collection<? extends SCM>
-
Method Details
-
asSCMTriggerItem
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
-