private static DefaultFailoverExecutor failoverExecutor(final String file) {
return new DefaultFailoverExecutor(new File(checkNotNullOrEmpty(file, "Filename should not be null")));
}
public static Failover playback(final String file) {
return new Failover(failoverExecutor(checkNotNullOrEmpty(file, "Filename should not be null")), FailoverStrategy.PLAYBACK);
}