
de.fraunhofer.iem.framework.FrameworkSetup Maven / Gradle / Ivy
package de.fraunhofer.iem.framework;
import boomerang.scene.CallGraph;
import com.google.common.base.Stopwatch;
import crysl.rule.CrySLRule;
import de.fraunhofer.iem.scanner.ScannerSettings;
import java.util.Collection;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public abstract class FrameworkSetup {
protected static final Logger LOGGER = LoggerFactory.getLogger(FrameworkSetup.class);
protected static final Stopwatch WATCH = Stopwatch.createUnstarted();
protected final String applicationPath;
protected final ScannerSettings.CallGraphAlgorithm callGraphAlgorithm;
protected FrameworkSetup(
String applicationPath, ScannerSettings.CallGraphAlgorithm callGraphAlgorithm) {
this.applicationPath = applicationPath;
this.callGraphAlgorithm = callGraphAlgorithm;
}
public abstract void initializeFramework();
public abstract CallGraph constructCallGraph(Collection rules);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy