com.bea.wli.worklist.api.taskplan.validator
Interface TaskPlanValidator


public interface TaskPlanValidator


Nested Class Summary
static class TaskPlanValidator.Message
           
 
Method Summary
 boolean validate(List messages)
          Validates the task plan for runtime use.
 

Method Detail

validate

boolean validate(List messages)
Validates the task plan for runtime use. The provided list holds any messages generated during validation. A return value of true indicates the task plan is valid, and false, invalid. A valid task plan may still generate informational and warning messages during validation, just no errors. Callers should ensure that the thread context classloader can see all the classes needed for any data type used in the properties for the task. For example, if the task uses an XMLBean property, the thread context classloader must be able to load the XMLBean class indicated in the property's variant-info.

Parameters:
messages - Holds Message instances generated during validation.
Returns:
true if the task plan is valid, false otherwise. If true, there may still be INFORMATION and WARNING messages in the messages list.