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

com.codepulsar.nils.adapter.snakeyaml.SnakeYamlAdapterFactory Maven / Gradle / Ivy

package com.codepulsar.nils.adapter.snakeyaml;

import java.util.List;

import com.codepulsar.nils.api.NilsConfig;
import com.codepulsar.nils.core.adapter.AdapterContext;
import com.codepulsar.nils.core.adapter.BaseAdapterFactory;
/** The factory for the {@link SnakeYamlAdapter}. */
public class SnakeYamlAdapterFactory extends BaseAdapterFactory {

  @Override
  protected List>> getValidAdapterConfigClasses() {
    return List.of(SnakeYamlAdapterConfig.class);
  }

  @Override
  protected SnakeYamlAdapter createAdapter(AdapterContext context) {
    return new SnakeYamlAdapter(context);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy