public void trigger ( ) { try { onTrigger ( ) ; Notification . show ( getCaption ( ) , "Successful." , Notification . Type . TRAY_NOTIFICATION ) ; } catch ( IOException | IllegalArgumentException | IllegalAccessException | IllegalStateException ex ) { onError ( ex ) ; } }
Triggers the action .