flux
Interface CronOr

All Superinterfaces:
Cron, CronSlice, java.io.Serializable, TimeExpression

public interface CronOr
extends Cron

A Cron "or" represents a logical "or" of many Cron slices. This logical "or" represents a time where any of the sub-Cron slices may be used, depending on which one represents an earlier point in time. The Cron columns spanned by all Cron slices are identical.

Author:
Copyright 2014 Flux Corporation. All rights reserved.

Field Summary
 
Fields inherited from interface flux.Cron
APR, APRIL, AUG, AUGUST, DEC, DECEMBER, FEB, FEBRUARY, FRI, FRIDAY, JAN, JANUARY, JUL, JULY, JUN, JUNE, MAR, MARCH, MAY_INT, MAY_STRING, MON, MONDAY, NOV, NOVEMBER, OCT, OCTOBER, SAT, SATURDAY, SEP, SEPTEMBER, SUN, SUNDAY, THU, THURSDAY, TUE, TUESDAY, WED, WEDNESDAY
 
Method Summary
 java.util.Set getComponents()
          Returns the components of this Cron "or".
 int size()
          The number of components in this Cron "or".
 
Methods inherited from interface flux.Cron
isCronForLoop, isCronOr, isRegularCron, previous, previous, toString
 
Methods inherited from interface flux.CronSlice
add, add, add, add, add, add, addAll, addAll, get, getEndingCronColumn, getStartingCronColumn, includesAllValues
 
Methods inherited from interface flux.TimeExpression
accept, getBusinessInterval, getTimeZone, next, next, reset, setBusinessInterval, setTimeZone
 

Method Detail

getComponents

java.util.Set getComponents()
Returns the components of this Cron "or".

Returns:
Set of CronSlice. The components of this Cron "or".

size

int size()
The number of components in this Cron "or". There is at least one component in this Cron "or".

Returns:
The number of components in this Cron "or".


© 2014 Flux Corporation. All rights reserved.