Search in sources :

Example 1 with FileOwnerNameRule

use of com.axway.ats.rbv.filesystem.rules.FileOwnerNameRule in project ats-framework by Axway.

the class FileSystemVerification method checkOwnerName.

/**
     * Add rule to check that the owner name of the received file is the same
     * as the owner name of the source file (NOT SUPPORTED ON WINDOWS)
     * 
     * @param owner             the owner name
     * @throws RbvException     thrown on error
     */
@PublicAtsApi
public void checkOwnerName(String owner) throws RbvException {
    FileOwnerNameRule rule = new FileOwnerNameRule(owner, "checkOwnerName", true);
    rootRule.addRule(rule);
}
Also used : FileOwnerNameRule(com.axway.ats.rbv.filesystem.rules.FileOwnerNameRule) PublicAtsApi(com.axway.ats.common.PublicAtsApi)

Aggregations

PublicAtsApi (com.axway.ats.common.PublicAtsApi)1 FileOwnerNameRule (com.axway.ats.rbv.filesystem.rules.FileOwnerNameRule)1