Exit Attributes

Exits when configured as run time instances have attributes such as the name and (in most cases) a comment that is either the comment entered on the configuration screen or the default as defined in the metadata for the exit (getDesc()). Your program can obtain this information through the getAttributes() method.

This following code returns a Map of the attributes that can be queried by the standard MAP collections class methods. For example, the name assigned when the instance is configured can be obtained by:

Map attr = getAttributes();
String name = (String) attr.get("name");

iWay Software