@Nonnull
  public T build ()
  {
    if (m_aScheduleBuilder == null)
      m_aScheduleBuilder = SimpleScheduleBuilder.simpleSchedule ();
    final IMutableTrigger trig = m_aScheduleBuilder.build ();
    trig.setCalendarName (m_sCalendarName);
    trig.setDescription (m_sDescription);
    trig.setStartTime (m_aStartTime);
    trig.setEndTime (m_aEndTime);
    if (m_aKey == null)
      m_aKey = new TriggerKey (Key.createUniqueName (null), null);
    trig.setKey (m_aKey);
    if (m_aJobKey != null)
      trig.setJobKey (m_aJobKey);
    trig.setPriority (m_nPriority);

    if (!m_aJobDataMap.isEmpty ())
      trig.setJobDataMap (m_aJobDataMap);
    return GenericReflection.uncheckedCast (trig);
  }
@ Nonnull public T build ( ) { if ( m_aScheduleBuilder == null ) m_aScheduleBuilder = SimpleScheduleBuilder . simpleSchedule ( ) ; final IMutableTrigger trig = m_aScheduleBuilder . build ( ) ; trig . setCalendarName ( m_sCalendarName ) ; trig . setDescription ( m_sDescription ) ; trig . setStartTime ( m_aStartTime ) ; trig . setEndTime ( m_aEndTime ) ; if ( m_aKey == null ) m_aKey = new TriggerKey ( Key . createUniqueName ( null ) , null ) ; trig . setKey ( m_aKey ) ; if ( m_aJobKey != null ) trig . setJobKey ( m_aJobKey ) ; trig . setPriority ( m_nPriority ) ; if ( ! m_aJobDataMap . isEmpty ( ) ) trig . setJobDataMap ( m_aJobDataMap ) ; return GenericReflection . uncheckedCast ( trig ) ; }
Produce the <code>Trigger</code>.

@return a Trigger that meets the specifications of the builder.