Using the Annotations for Defining UI Properties

You can use annotations to define the source configuration type properties that appear in the Deployment Automation user interface during component configuration.

For details on the annotations, see the Javadoc.

In the following sample code you can see the annotation SourceConfigTypeParam defines a property called Base Path, as shown in bold:


public class FileSystemVersioned implements CommonIntegrator {

@SourceConfigTypeParam(displayName = "Base Path", 
   description = "Base path for artifact storage", required = true)    private String basePath;

  <more example code here ...>


After the example is compiled and loaded into Deployment Automation, the property Base Path is shown in a component when the example source configuration type is selected.