Policy
public final class YearlyPolicy extends AbstractTimeBasedPolicy
Constructor | Description |
---|---|
YearlyPolicy() |
Trigger a rollover every year (=
YearlyPolicy(1) ). |
YearlyPolicy(int month) |
Trigger the first rollover at the first of the defined month.
|
YearlyPolicy(String month) |
Trigger the first rollover at first of the defined month.
|
public YearlyPolicy()
YearlyPolicy(1)
).public YearlyPolicy(int month)
month
- Month (between 1..12) for rolloverpublic YearlyPolicy(String month)
month
- Month (between 1..12) for rolloverCopyright © 2019. All rights reserved.