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);
}
Aggregations