Schemas Collection Attribute

The schemas collection attribute provides a way to identify multiple, specific database schema names instead of doing only a single schema through the schemaName attribute or all accessible schemas through the allSchemas.

Unlike other attributes available as of Release v0.2, the schemas collection attribute is a child element collection to the parent <schemaSpy> element.

Examples:
<schemaSpy
    jarPath="..."
    ... >
    <schemas>
        <schema schemaName="dbo" />
        <schema schemaName="sys" />
        <schema schemaName="custom" />
    </schemas>
</schemaSpy>


While the schemas collection attribute is not a required attribute, schema information is required. In order to address this, additional validations are done to ensure that either allSchemas, schemaName, or the schemas collection attributes must be present. If none of those attributes or more than one is present, a build exception will be raised.

Last edited Jun 16, 2009 at 11:27 PM by JamesEggers, version 1

Comments

No comments yet.