Package org.apache.wiki
Class ProductUpdateChecker
java.lang.Object
org.apache.wiki.ProductUpdateChecker
- All Implemented Interfaces:
Runnable
At server start up and once a day (if enabled), this component will check for
an updated WAR file via maven central's APIs. The notification of the update
will then be disabled to users with admin permissions near the user
preference/login/out menu.
It's usage does require internet access, so if you're not internet connected,
or cannot reach search.maven.org it won't do you much good. It can be
disabled via jspwiki properties.
- Since:
- 3.0.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic class -
Method Summary
Modifier and TypeMethodDescriptionstatic ProductUpdateCheckerif the service is disabled, this will return nullstatic voidinitialize(Properties props) voidrun()voidshutdown()