if (conditions.size() > 1) { throw new InvalidWorkflowDescriptorException("A restrict-to element can only have one conditions child element"); }
    public void validate() throws InvalidWorkflowDescriptorException {        ValidationHelper.validate(conditions);    }