Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

DTK provides a tool for generating Java code from the configuration contract XML file. The tool is included in the devkit.jar file.

Example - Tool to generate Java code

The tool is executed using the following command:

java -cp devkit.jar com.digitalroute.devkit.tools.ContractGen \ 
     -d <output dir> -f <configuration contract file>

For each field in the configuration contract, a corresponding inner class is generated. This class should not be used by the agent, instead, the field is accessed through public accessor (get and set) methods. Each field also has an active flag which is used when a field gets enabled/disabled from the agent's user interface.

  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.