/** * Builds a {@link MessageRule} that evaluates the message against the Conformance Profile * referred to by the profileId parameter * * @param profileId conformance profile id (file name) * @return this instance to build more rules */ public MessageRuleBuilder conformance(String profileId) { return test(prepareRule(new ConformanceProfileRule(profileId))); }
/** * Builds a {@link MessageRule} that evaluates the message against the Conformance Profile * referred to by the profileId parameter * * @param profileId conformance profile id (file name) * @return this instance to build more rules */ public MessageRuleBuilder conformance(String profileId) { return test(prepareRule(new ConformanceProfileRule(profileId))); }