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

com.breuninger.boot.status.controller.ExternalDependencies Maven / Gradle / Ivy

package com.breuninger.boot.status.controller;

import static java.util.Collections.emptyList;

import java.util.List;

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

import com.breuninger.boot.annotations.Beta;
import com.breuninger.boot.status.domain.ExternalDependency;

import lombok.Getter;

@Beta
@Getter
@Component
public class ExternalDependencies {

  private final List dependencies;

  public ExternalDependencies(@Autowired(required = false) final List dependencies) {
    if (dependencies == null) {
      this.dependencies = emptyList();
    } else {
      this.dependencies = dependencies;
    }
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy