Codota Logo
org.quartz.triggers
Code IndexAdd Codota to your IDE (free)

How to use org.quartz.triggers

Best Java code snippets using org.quartz.triggers (Showing top 20 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Point p =
  • Codota Iconnew Point(x, y)
  • Codota Iconnew Point()
  • Codota IconMouseEvent e;e.getPoint()
  • Smart code suggestions by Codota
}
origin: org.knowm/sundial

@Override
public Object clone() {
 CronTriggerImpl copy = (CronTriggerImpl) super.clone();
 if (cronEx != null) {
  copy.setCronExpression(new CronExpression(cronEx));
 }
 return copy;
}
origin: org.knowm/sundial

 @Override
 public String toString() {

  return super.toString() + ", repeatCount: " + getRepeatCount() + ", repeatInterval: " + getRepeatInterval();
 }
}
origin: org.knowm/sundial

public void setCronExpression(String cronExpression) throws ParseException {
 TimeZone origTz = getTimeZone();
 this.cronEx = new CronExpression(cronExpression);
 this.cronEx.setTimeZone(origTz);
}
origin: knowm/Sundial

/**
 * Build the actual Trigger -- NOT intended to be invoked by end users, but will rather be invoked
 * by a TriggerBuilder which this ScheduleBuilder is given to.
 */
@Override
public OperableTrigger instantiate() {
 SimpleTriggerImpl st = new SimpleTriggerImpl();
 st.setRepeatInterval(interval);
 st.setRepeatCount(repeatCount);
 st.setMisfireInstruction(misfireInstruction);
 return st;
}
origin: com.xeiam/sundial

TriggerWrapper(OperableTrigger trigger) {
 this.trigger = trigger;
 key = trigger.getName();
 this.jobKey = trigger.getJobName();
}
origin: com.xeiam/sundial

/**
 * <p>
 * Create a <code>ObjectAlreadyExistsException</code> and auto-generate a message using the name/group from the given <code>Trigger</code>.
 * </p>
 * <p>
 * The message will read: <BR>
 * "Unable to store Trigger with name: '__' and group: '__', because one already exists with this identification."
 * </p>
 */
public ObjectAlreadyExistsException(Trigger offendingTrigger) {
 super("Unable to store Trigger with name: '" + offendingTrigger.getName() + "', because one already exists with this identification.");
}
origin: org.knowm/sundial

/**
 * Returns the next date/time <I>after</I> the given date/time which satisfies the cron expression.
 *
 * @param date the date/time at which to begin the search for the next valid date/time
 * @return the next valid date/time
 */
public Date getNextValidTimeAfter(Date date) {
 return getTimeAfter(date);
}
origin: com.xeiam/sundial

/**
 * <p>
 * Determines whether or not the <code>CronTrigger</code> will occur again.
 * </p>
 */
@Override
public boolean mayFireAgain() {
 return (getNextFireTime() != null);
}
origin: com.xeiam/sundial

/**
 * NOT YET IMPLEMENTED: Returns the time before the given time that this <code>CronTrigger</code> will fire.
 */
private Date getTimeBefore(Date endTime) {
 return (cronEx == null) ? null : cronEx.getTimeBefore(endTime);
}
origin: org.knowm/sundial

/**
 * Set the CronExpression to the given one. The TimeZone on the passed-in CronExpression over-rides any that was already set on the Trigger.
 *
 * @param cronExpression
 */
public void setCronExpression(CronExpression cronExpression) {
 this.cronEx = cronExpression;
 this.timeZone = cronExpression.getTimeZone();
}
origin: org.knowm/sundial

/**
 * <p>
 * Determines whether or not the <code>SimpleTrigger</code> will occur again.
 * </p>
 */
@Override
public boolean mayFireAgain() {
 return (getNextFireTime() != null);
}
origin: knowm/Sundial

@Override
public Object clone() {
 CronTriggerImpl copy = (CronTriggerImpl) super.clone();
 if (cronEx != null) {
  copy.setCronExpression(new CronExpression(cronEx));
 }
 return copy;
}
origin: com.xeiam/sundial

 @Override
 public String toString() {

  return super.toString() + ", repeatCount: " + getRepeatCount() + ", repeatInterval: " + getRepeatInterval();
 }
}
origin: com.xeiam/sundial

public void setCronExpression(String cronExpression) throws ParseException {
 TimeZone origTz = getTimeZone();
 this.cronEx = new CronExpression(cronExpression);
 this.cronEx.setTimeZone(origTz);
}
origin: knowm/Sundial

/**
 * Returns the next date/time <I>after</I> the given date/time which satisfies the cron
 * expression.
 *
 * @param date the date/time at which to begin the search for the next valid date/time
 * @return the next valid date/time
 */
public Date getNextValidTimeAfter(Date date) {
 return getTimeAfter(date);
}
origin: org.knowm/sundial

/**
 * <p>
 * Determines whether or not the <code>CronTrigger</code> will occur again.
 * </p>
 */
@Override
public boolean mayFireAgain() {
 return (getNextFireTime() != null);
}
origin: com.xeiam/sundial

@Override
public Object clone() {
 CronTriggerImpl copy = (CronTriggerImpl) super.clone();
 if (cronEx != null) {
  copy.setCronExpression(new CronExpression(cronEx));
 }
 return copy;
}
origin: knowm/Sundial

 @Override
 public String toString() {

  return super.toString()
    + ", repeatCount: "
    + getRepeatCount()
    + ", repeatInterval: "
    + getRepeatInterval();
 }
}
origin: knowm/Sundial

public void setCronExpression(String cronExpression) throws ParseException {
 TimeZone origTz = getTimeZone();
 this.cronEx = new CronExpression(cronExpression);
 this.cronEx.setTimeZone(origTz);
}
origin: com.xeiam/sundial

/**
 * Returns the next date/time <I>after</I> the given date/time which satisfies the cron expression.
 *
 * @param date the date/time at which to begin the search for the next valid date/time
 * @return the next valid date/time
 */
public Date getNextValidTimeAfter(Date date) {
 return getTimeAfter(date);
}
org.quartz.triggers

Most used classes

  • Trigger
    The base interface with properties common to all Triggers - use TriggerBuilder to instantiate an act
  • CronExpression
    Provides a parser and evaluator for unix-like cron expressions. Cron expressions provide the ability
  • AbstractTrigger
    The base abstract class to be extended by all Triggers.Triggers s have a name and group associated w
  • CronTrigger
    The public interface for inspecting settings specific to a CronTrigger, . which is used to fire a or
  • CronTriggerImpl
    A concrete Trigger that is used to fire a org.quartz.jobs.JobDetail at given moments in time, define
  • SimpleTriggerImpl,
  • Trigger$TriggerTimeComparator,
  • ValueSet
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now