Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add convenience factory method to JobSchedule #133

Closed
sleberknight opened this issue May 5, 2021 · 0 comments · Fixed by #134
Closed

Add convenience factory method to JobSchedule #133

sleberknight opened this issue May 5, 2021 · 0 comments · Fixed by #134
Assignees
Labels
enhancement A request for change or improvement to an existing feature
Milestone

Comments

@sleberknight
Copy link
Member

Add a convenience factory method to easily create a JobSchedule instance with the default initial delay. e.g.

var jobSchedule = JobSchedule.ofIntervalDelay(Duration.hours(1));
@sleberknight sleberknight added the enhancement A request for change or improvement to an existing feature label May 5, 2021
@sleberknight sleberknight added this to the 0.10.0 milestone May 5, 2021
@sleberknight sleberknight self-assigned this May 5, 2021
@sleberknight sleberknight added the in progress A task that is actively being worked on label May 5, 2021
sleberknight added a commit that referenced this issue May 5, 2021
* Add ofIntervalDelay factory methods to JobSchedule; one accepts a
  io.dropwizard.Duration and the other accepts a java.time.Duration

Closes #133
sleberknight added a commit that referenced this issue May 6, 2021
* Add convenience factory methods to JobSchedule

* Add ofIntervalDelay factory methods to JobSchedule; one accepts a
  io.dropwizard.Duration and the other accepts a java.time.Duration

Closes #133
@sleberknight sleberknight removed the in progress A task that is actively being worked on label May 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement A request for change or improvement to an existing feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant