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

com.arextest.web.model.contract.contracts.config.replay.ComparisonInclusionsConfiguration Maven / Gradle / Ivy

There is a newer version: 0.6.5.5
Show newest version
package com.arextest.web.model.contract.contracts.config.replay;

import java.util.List;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.util.CollectionUtils;

@Data
@NoArgsConstructor
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public class ComparisonInclusionsConfiguration extends AbstractComparisonDetailsConfiguration {

  List inclusions;

  @Override
  public void validParameters() throws Exception {
    super.validParameters();
    if (CollectionUtils.isEmpty(inclusions)) {
      throw new Exception("inclusions cannot be empty");
    }
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy