public class ParameterizedCronTab extends Object
CronTab with added parameters map support| Constructor and Description |
|---|
ParameterizedCronTab(hudson.scheduler.CronTab cronTab,
Map<String,String> parameters)
look at this fragile happy-crappy!
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
check(Calendar calendar) |
String |
checkSanity() |
static ParameterizedCronTab |
create(String line,
int lineNumber,
hudson.scheduler.Hash hash) |
Map<String,String> |
getParameterValues() |
public ParameterizedCronTab(hudson.scheduler.CronTab cronTab,
Map<String,String> parameters)
cronTab - the crontab to use as a templateparameters - the parameters in name=value key pairingspublic static ParameterizedCronTab create(String line, int lineNumber, hudson.scheduler.Hash hash) throws antlr.ANTLRException
hash - Used to spread out token like "@daily". Null to preserve the legacy behaviour
of not spreading it out at all.antlr.ANTLRExceptionpublic boolean check(Calendar calendar)
public String checkSanity()
Copyright © 2004-2015. All Rights Reserved.