All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.puresoltechnologies.purifinity.server.metrics.MetricsDAO Maven / Gradle / Ivy

package com.puresoltechnologies.purifinity.server.metrics;

import java.util.List;

import com.puresoltechnologies.commons.misc.hash.HashId;
import com.puresoltechnologies.parsers.source.SourceCodeLocation;
import com.puresoltechnologies.purifinity.analysis.domain.CodeRange;
import com.puresoltechnologies.purifinity.evaluation.api.EvaluationStoreException;

public interface MetricsDAO {

    public void storeFileResults(HashId hashId, SourceCodeLocation sourceCodeLocation, CodeRange codeRange,
	    FileMetricsType slocMetric) throws EvaluationStoreException;

    public boolean hasFileResults(HashId hashId) throws EvaluationStoreException;

    public List readFileResults(HashId hashId) throws EvaluationStoreException;

    public void storeDirectoryResults(HashId hashId, DirectoryMetricsType slocResult) throws EvaluationStoreException;

    public boolean hasDirectoryResults(HashId hashId) throws EvaluationStoreException;

    public DirectoryMetricsType readDirectoryResults(HashId hashId) throws EvaluationStoreException;

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy