Class ParameterizedCronTab

java.lang.Object
org.jenkinsci.plugins.parameterizedscheduler.ParameterizedCronTab

public class ParameterizedCronTab extends Object
this is a copy of CronTab with added parameters map support
Author:
jameswilson
  • Constructor Details

    • ParameterizedCronTab

      public ParameterizedCronTab(CronTab cronTab, Map<String,String> parameters)
      Parameters:
      cronTab - the crontab to use as a template
      parameters - the parameters in name=value key pairings
  • Method Details

    • create

      public static ParameterizedCronTab create(String line, int lineNumber, Hash hash, String timezone)
      Parameters:
      hash - Used to spread out token like "@daily". Null to preserve the legacy behaviour of not spreading it out at all.
    • getParameterValues

      public Map<String,String> getParameterValues()
    • check

      public boolean check(Calendar calendar)
    • checkSanity

      public String checkSanity()