package _VisualDVM.ComponentsServer.Component.Sapfor;
import _VisualDVM.ComponentsServer.Component.ComponentType;
import _VisualDVM.Global;

import java.io.File;
import java.nio.file.Paths;
public class Sapfor_F extends Sapfor {
    @Override
    public ComponentType getComponentType() {
        return ComponentType.Sapfor_F;
    }
    @Override
    public String getAssemblyCommand() {
        return "cd Repo/SAPFOR/install\n" +
                "cmake ../\n" +
                "make -j 4\n";
    }
    @Override
    public File getAssemblyFile() {
        return Paths.get(
                Global.RepoDirectory.getAbsolutePath(),
                "SAPFOR/install/Sapfor_F").toFile();
    }
    @Override
    public String getUpdateCommand() {
        return "update_spf: ";
    }
    @Override
    public String getRestartCommand() {
        return "restart: ";
    }
}
