public Notifications action(Action... actions){
  this.actions=actions == null ? FXCollections.<Action>observableArrayList() : FXCollections.observableArrayList(actions);
  return this;
}

public Notifications action ( Action ... actions ) { this . actions = actions == null ? FXCollections . < Action > observableArrayList ( ) : FXCollections . observableArrayList ( actions ) ; return this ; }
specify the actions that should be shown in the notification as buttons .
