package com.avg.zaap.crashlibrary.offline.publisher.metadata;

import android.support.annotation.NonNull;

import com.avg.zaap.crashlibrary.ReportData;

import java.io.File;

/**
 * This interface denotes the common behavior f
 */
public interface ICrashMetadataWriter {

    /**
     * Writes metadata into a temporary file.
     *
     * @param crashFile  file to write the metadata into
     * @param reportData report data to write
     * @return true, provided that metadata were successfully written, false otherwise
     */
    boolean writeMetadata(@NonNull File crashFile, @NonNull ReportData reportData);

}
