* @version $Revision: $
*/
public final class ExtractScriptUtil {
public static String extract(ExecContext context, ClassLifecycleEvent event) {
BMRule rule = event.getTestClass().getAnnotation(BMRule.class);
BMRules rules = event.getTestClass().getAnnotation(BMRules.class);
String script = createRules(context, rule, rules);
context.validate(event);
return script;
}