package com.arms.api.issue.resolution.strategy;

import com.arms.api.issue.resolution.model.IssueResolutionData;

import com.arms.api.serverinfo.model.vo.ServerInfoVO;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public class IssueResolutionStrategyRegister {

    IssueResolutionStrategy IssueResolutionStrategy;

    public void issueResolutionStrategyRegister(IssueResolutionStrategy IssueResolutionStrategy) {
        this.IssueResolutionStrategy = IssueResolutionStrategy;
    }

    public List<IssueResolutionData> getIssueResolutionStrategyList(ServerInfoVO serverInfoVO) {
        return this.IssueResolutionStrategy.getIssueResolutionList(serverInfoVO);
    }
}
