The version Element

From Documentation



It specifies the version of this configuration. It also controls whether to ignore this configuration.

First, ZK checks if the specified class (<version-calss>) matches the version (<version-uuid>). Second, it checks if ZK's version is the same or larger than the version specified in <zk-version>.

The specified class, if any, must have a static field called UID. ZK will compare its value with the version specified in <version-uuid>. For example,

package foo;
public class MyAddon {
    public static public static final String UID = "1.0.3";

Then, you could specify it as follows.


which means foo.MyAddon.UID must be 1.0.3, and WebApp.getVersion() must be 5.0.0 or later.

Version History

Last Update : 2022/01/19

Version Date Content

Last Update : 2022/01/19

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.