com.wavesenterprise.javadsl.docker.validator.ValidationPolicy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of we-models Show documentation
Show all versions of we-models Show documentation
Library for Waves Enterprise blockchain platform
package com.wavesenterprise.javadsl.docker.validator;
import com.wavesenterprise.account.Address;
import scala.collection.JavaConverters;
import java.util.List;
public interface ValidationPolicy {
com.wavesenterprise.docker.validator.ValidationPolicy DEFAULT = com.wavesenterprise.docker.validator.ValidationPolicy.Any$.MODULE$;
com.wavesenterprise.docker.validator.ValidationPolicy ANY = com.wavesenterprise.docker.validator.ValidationPolicy.Any$.MODULE$;
com.wavesenterprise.docker.validator.ValidationPolicy MAJORITY = com.wavesenterprise.docker.validator.ValidationPolicy.Majority$.MODULE$;
static com.wavesenterprise.docker.validator.ValidationPolicy majorityWithOneOf(List addressList) {
return new com.wavesenterprise.docker.validator.ValidationPolicy.MajorityWithOneOf(JavaConverters.asScalaBuffer(addressList).toList());
}
}