package de.codecentric.boot.admin.server.notify;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.core.env.Environment;
import org.springframework.stereotype.Component;

import javax.validation.constraints.Max;
import java.util.List;

@Component
public class ServicesList {

    @Autowired
    private Environment env;


    public List<String> getServices() {

        return env.getProperty("spring.boot.admin.services",List.class);
    }
}
