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

com.credibledoc.substitution.doc.module.substitution.launching.FinishedSearchCommand Maven / Gradle / Ivy

package com.credibledoc.substitution.doc.module.substitution.launching;

import com.credibledoc.combiner.log.buffered.LogBufferedReader;
import com.credibledoc.substitution.doc.SubstitutionDocMain;
import com.credibledoc.enricher.deriving.Deriving;
import com.credibledoc.enricher.searchcommand.SearchCommand;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class FinishedSearchCommand implements SearchCommand {

    @Override
    public boolean isApplicable(Deriving deriving, List multiLine,
                                LogBufferedReader logBufferedReader) {
        return multiLine.get(0).contains(SubstitutionDocMain.APPLICATION_SUBSTITUTION_DOC_FINISHED);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy