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

kz.greetgo.conf.hot.HotConfigDefinitionModel Maven / Gradle / Ivy

There is a newer version: 2.0.5
Show newest version
package kz.greetgo.conf.hot;

import java.util.Collections;
import java.util.List;

public class HotConfigDefinitionModel implements HotConfigDefinition {

  private final List elementDefinitions;
  private final String location, description;
  private final Class configInterface;

  public HotConfigDefinitionModel(String location,
                                  Class configInterface,
                                  String description,
                                  List elementDefinitions) {

    this.location = location;
    this.configInterface = configInterface;
    this.description = description;
    this.elementDefinitions = Collections.unmodifiableList(elementDefinitions);

  }

  @Override
  public String location() {
    return location;
  }

  @Override
  public String description() {
    return description;
  }

  @Override
  public List elementList() {
    return elementDefinitions;
  }

  @Override
  public Class configInterface() {
    return configInterface;
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy