Class WarlockCheckProp
-
- All Implemented Interfaces:
@ConfigurationProperties(value = WarlockCheckProp.Key) public class WarlockCheckProp
wings-warlock-check-77.properties whether to check timezone.
- Since:
2021-02-17
trydofor
-
-
Field Summary
Fields Modifier and Type Field Description public final static StringKeypublic inttzOffsetpublic final static StringKey$tzOffsetpublic final static StringKey$tzFail
-
Constructor Summary
Constructors Constructor Description WarlockCheckProp()
-
Method Summary
Modifier and Type Method Description intgetTzOffset()seconds, database and JVM time offset, absolute maximum. voidsetTzOffset(int tzOffset)seconds, database and JVM time offset, absolute maximum. booleanisTzFail()whether to terminate or to log only when the time offset is exceeded. booleanequals(@Nullable() Object o)inthashCode()StringtoString()voidsetTzFail(boolean tzFail)whether to terminate or to log only when the time offset is exceeded. -
-
Method Detail
-
getTzOffset
int getTzOffset()
seconds, database and JVM time offset, absolute maximum.
-
setTzOffset
void setTzOffset(int tzOffset)
seconds, database and JVM time offset, absolute maximum.
-
isTzFail
boolean isTzFail()
whether to terminate or to log only when the time offset is exceeded.
-
hashCode
int hashCode()
-
setTzFail
void setTzFail(boolean tzFail)
whether to terminate or to log only when the time offset is exceeded.
-
-
-
-