hudson.scheduler
Class CronTabList
java.lang.Object
hudson.scheduler.CronTabList
public final class CronTabList
- extends Object
CronTab
list (logically OR-ed).
- Author:
- Kohsuke Kawaguchi
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CronTabList
public CronTabList(Collection<CronTab> tabs)
check
public boolean check(Calendar cal)
- Returns true if the given calendar matches
checkSanity
public String checkSanity()
- Checks if this crontab entry looks reasonable,
and if not, return an warning message.
The point of this method is to catch syntactically correct
but semantically suspicious combinations, like
"* 0 * * *"
create
public static CronTabList create(String format)
throws antlr.ANTLRException
- Throws:
antlr.ANTLRException
create
public static CronTabList create(String format,
Hash hash)
throws antlr.ANTLRException
- Throws:
antlr.ANTLRException
Copyright © 2004-2013. All Rights Reserved.