// ---------------------------------------------------------------
List appList = workflowPackage.getWorkflowApplications();
int app_size = appList.size();
for (int i = 0; i < app_size; ++i)
{
WorkflowApplication app = (WorkflowApplication) appList.get(i);
ExtendedAttribute attribute = app.findExtendedAttribute(XPDLGlobals.APPLICATION_QUALIFIED_CLASS_NAME);
if (attribute != null)
{
String className = (String) attribute.getValue();
if (className == null || className.length() == 0)
{
errorList.add(
new WorkflowException(
"application attribute '"
+ XPDLGlobals.APPLICATION_QUALIFIED_CLASS_NAME
+ "' must be set.{packageID="
+ workflowPackage.getUUID()
+ ",applicationID="
+ app.getUUID()
+ "}"));
}
}
else
{
errorList.add(
new WorkflowException(
"application attribute '"
+ XPDLGlobals.APPLICATION_QUALIFIED_CLASS_NAME
+ "' must be set.{packageID="
+ workflowPackage.getUUID()
+ ",applicationID="
+ app.getUUID()
+ "}"));
}
}
// ---------------------------------------------------------------