Java API


Table of contents



Elements Connect exposes a public Java API and a list of associated services that allow fields manipulation.


Read the associated Javadoc



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 versionElements Connect Java API version
 6.5.X0.3.0 - javadoc
6.0.1-6.4.60.2.0 - javadoc
5.14.x0.2.0 - javadoc
5.13.x0.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.valiantys.com/

Or directly from here:

VersionArchives
0.3.0
  • elements-connect-api-0.3.0.jar [TODO]
  • elements-connect-api-0.3.0-javadoc.jar
  • elements-connect-api-0.3.0-sources.jar
0.2.0
0.1.0