Use the available classes to get information about the statusThis represents the condition of a task (such as active, blocked, generating). of processing.
The AE.ApplicationInterface provides classes which can be used to read the different areas of the System OverviewThe UserInterface window that contains information about the Automation Engine system.. This includes the classes of the packageA Package is an instance (a version, a revision, a tag, …) of your application and defines the content which you want to deploy. Here you decide, if you want to deploy the entire application or just a few specified components. com.uc4.api.systemoverview. First request the System Overview's particular area to be read. It is supplied without the specification of filter criteria being required. The cells of the overview (which is provided in table form) can then be checked with an iterator. The example shown below reads server processes.
ServerList list = new ServerList();
uc4.sendRequestAndWait(list);
Iterator it = list.iterator();
while(it.hasNext())
{
ServerListItem item = (ServerListItem) it.next();
System.out.println(item.getName());
}
See also:
Classes for Objects
Classes for Workflows and Schedules
Classes for Activities
Classes for Statistics and Reports
Automic Documentation - Tutorials - Automic Blog - Resources - Training & Services - Automic YouTube Channel - Download Center - Support |
Copyright © 2016 Automic Software GmbH |