- Java - version 1.8 and up.
- Apache License 2.0
This is a simple link that can copied and used as the boilerplate for a new Java DSLink.
If you are not familiar with DSA and links, an overview can be found at here.
This link was built using the DSLink Java SDK which can be found here.
When creating a new link from this source material, you should do the following:
- Edit the code
- Change the package and directories to match your organization.
- Modify build.gradle
- group - Your organization's identifier.
- You will probably need to change your dependencies.
- Modify LICENSE
- At the very least, change the copyright holder.
- Modify dslink.json
- Change name, version, and description.
- Change main, this is the path to the shell script used to launch the link. It is created by the distZip task.
- Change the value of the config named "rootType". This must be the fully qualified class name of your root node.
- Edit this README
- Please maintain a helpful readme.
- Change the title.
- Maintain the current version number.
- Change the license if necessary.
- Provide an overview of the link's purpose. Keep the text linking to the DSA overview and core SDK for context.
- Remote this section (Creating a New Link).
- Update the Link Architecture.
- Update the Node Guide.
- Acknowledge any 3rd party libraries you use.
- Maintain a version history.
This section outlines the hierarchy of nodes defined by this link.
- RootNode - The root node of the link.
- ExampleChild - There is no child, this is just a documentation example.
This is the root node of the link. It has a counter that is updated on a short interval, only when the node is subscribed. It also has a simple action to reset the counter.
Actions
- Reset - Resets the counter to 0.
Values
- Counter - Automatically updates whenever the node is subscribed.
Child Nodes
- There are no child nodes.
SDK-DSLINK-JAVA
This software contains unmodified binary redistributions of sdk-dslink-java-v2, which is licensed and available under the Apache License 2.0. An original copy of the license agreement can be found