package ru.yandex.webmaster3.core.tracer;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import ru.yandex.webmaster3.core.http.ActionsHolder;

/**
 * @author kravchenko99
 * @date 12/6/21
 */
@Component
public class ViewerTraceTargets implements TraceTargets{

    @Autowired
    private ActionsHolder actionsHolder;

    @Override
    public List<String> getTargets() {
        return actionsHolder.getActions().keySet().stream().toList();
    }
}
