/** * Constructor. * * @param condition0 to be added to the list. * @param condition1 to be added to the list. * @param condition2 to be added to the list. */ public MultipleOrCondition( final AnnounceCondition condition0, final AnnounceCondition condition1, final AnnounceCondition condition2) { this(condition0, condition1); announceConditionsList.add(condition2); }
/** * Adds an announce condition to the list. * * @param announceCondition to be added. */ public final void addAnnounceCondition(final AnnounceCondition announceCondition) { announceConditionsList.add(announceCondition); }
/** * Constructor. * * @param condition0 to be added to the list. */ public MultipleOrCondition(final AnnounceCondition condition0) { announceConditionsList = new AnnounceConditionList(); announceConditionsList.add(condition0); }