see whether an item can be coerced to scmtriggeritem . concode_field_sep hudson.model.SCMedItem delegate concode_field_sep int getQuietPeriod concode_elem_sep int getQuietPeriod concode_elem_sep QueueTaskFuture<?> scheduleBuild2 concode_elem_sep QueueTaskFuture<?> scheduleBuild2 concode_elem_sep Collection<? extends SCM> resolveMultiScmIfConfigured concode_elem_sep int getNextBuildNumber concode_elem_sep int getNextBuildNumber concode_elem_sep Item asItem concode_elem_sep Item asItem concode_elem_sep Collection<? extends SCM> getSCMs concode_elem_sep Collection<? extends SCM> getSCMs concode_elem_sep PollingResult poll concode_elem_sep PollingResult poll concode_elem_sep SCMTrigger getSCMTrigger concode_elem_sep SCMTrigger getSCMTrigger
SCMTriggerItem function ( Item arg0 ) { if ( arg0 instanceof SCMTriggerItem ) { return ( SCMTriggerItem ) arg0 ; } else if ( arg0 instanceof hudson . model . SCMedItem ) { return new Bridge ( ( hudson . model . SCMedItem ) arg0 ) ; } else { return null ; } }