Class SCMTriggerItem.SCMTriggerItems

java.lang.Object
jenkins.triggers.SCMTriggerItem.SCMTriggerItems
Enclosing interface:
SCMTriggerItem

public static class SCMTriggerItem.SCMTriggerItems extends Object
Utilities.
  • Method Details

    • asSCMTriggerItem

      @CheckForNull public static SCMTriggerItem asSCMTriggerItem(Item item)
      See whether an item can be coerced to SCMTriggerItem.
      Parameters:
      item - any item
      Returns:
      itself, if a SCMTriggerItem, or an adapter, if an SCMedItem, else null
    • resolveMultiScmIfConfigured

      @NonNull public static Collection<? extends SCM> resolveMultiScmIfConfigured(@CheckForNull SCM scm)