@ Override public List < Trigger > getTriggersForJob ( String jobKey ) { ArrayList < Trigger > trigList = new ArrayList < Trigger > ( ) ; synchronized ( lock ) { for ( int i = 0 ; i < wrappedTriggers . size ( ) ; i ++ ) { TriggerWrapper tw = wrappedTriggers . get ( i ) ; if ( tw . jobKey . equals ( jobKey ) ) { trigList . add ( ( OperableTrigger ) tw . trigger . clone ( ) ) ; } } } return trigList ; }
Get all of the Triggers that are associated to the given Job .