Package com.styra.opa.openapi.utils
Class Options
- java.lang.Object
-
- com.styra.opa.openapi.utils.Options
-
public class Options extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Options.Builder
static class
Options.Option
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Options.Builder
builder()
java.util.Optional<RetryConfig>
retryConfig()
void
validate(java.util.List<Options.Option> supportedOptions)
-
-
-
Method Detail
-
retryConfig
public java.util.Optional<RetryConfig> retryConfig()
-
validate
public final void validate(java.util.List<Options.Option> supportedOptions) throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
-
builder
public static final Options.Builder builder()
-
-