Develop a Trigger

Introduction

This part of the documentation will describe how to develop a trigger from scratch. We will detail:
  • How to prepare the environment to build a template trigger
  • How to implement the trigger

But before this, let's describe a bit how a trigger is actually working:

First of all, a trigger is a package including only a JAR file (a zip containing some Java classes).
Trigger Package

The role of the trigger is to execute custom actions when some particular operations are done on XStudio. Indeed, only one single trigger can be activated at a time on a XStudio server.

The selection of the trigger to be activated is done through the server settings in XStudio's menu.