Java API
Elements Connect exposes a public Java API and a list of associated services that allow fields manipulation.
Services
Elements Connect exposes two services to manipulate fields display and values.
Fields display service
This service allows you to generate the display (issue view) associated to an Elements Connect fields.
Check IFieldDisplayService javadoc for more details.
Field values service
This field allows you to manipulate (read and write) Elements Connect fields content (programmatic content).
Check IFieldValueService javadoc for more details.
The method computeFieldsValue is implemented since Elements Connect 6.
Examples
Check the following use cases (depending on your context). They contain examples on how to get a reference to Elements Connect services:
API Versions matrix
Elements Connect exposes its Java API as follows:
Elements Connect version | Elements Connect Java API version |
---|---|
≥ 6.5.X | 0.3.0 - javadoc |
6.0.1-6.4.6 | 0.2.0 - javadoc |
5.14.x | 0.2.0 - javadoc |
5.13.x | 0.1.0 - javadoc |
API reference
To use Elements Connect API, you'll need to add a reference to your project (for Java projects).
Maven
Dependency
Add this dependency to your pom file:
Dependency
<dependency>
<groupId>com.elements-apps.elements-connect.api</groupId>
<artifactId>elements-connect-api</artifactId>
<version>0.3.0</version>
<scope>provided</scope>
</dependency>
The provided scope is important.
Repository
You will need to add the following repository for Maven to resolve the dependency :
Repository
<repository>
<id>valiantys</id>
<name>valiantys-public</name>
<url>https://repository.elements-apps.com/artifactory/valiantys-public</url>
</repository>
Direct reference
In case you need a direct reference to the API, you can directly download the archive from our repository:
https://repository.elements-apps.com/
Or directly from here:
Version | Archives |
---|---|
0.3.0 |
|
0.2.0 | |
0.1.0 |