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

com.satori.mods.suite.CompositionNodeConfig Maven / Gradle / Ivy

package com.satori.mods.suite;

import com.satori.mods.core.config.*;

import java.util.*;

import com.fasterxml.jackson.annotation.*;
import com.fasterxml.jackson.databind.annotation.*;

@JsonInclude(JsonInclude.Include.NON_DEFAULT)
public class CompositionNodeConfig extends ModConfig {
  
  @JsonProperty("connectors")
  @JsonDeserialize(using = ConnectorsConfigDeserializer.class)
  public HashMap> connectors = null;
  
  public CompositionNodeConfig() {
  }
  
  @Override
  public void validate() throws InvalidConfigException {
    super.validate();
    
    if (connectors == null) {
      throw new InvalidConfigException("invalid connectors");
    }
  }
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy