Package springfox.documentation.builders
Class EnumerationElementFacetBuilder
- java.lang.Object
-
- springfox.documentation.builders.EnumerationElementFacetBuilder
-
- All Implemented Interfaces:
ElementFacetBuilder
public class EnumerationElementFacetBuilder extends java.lang.Object implements ElementFacetBuilder
-
-
Constructor Summary
Constructors Constructor Description EnumerationElementFacetBuilder()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description EnumerationElementFacetBuilder
allowedValues(java.util.Collection<java.lang.String> allowedValues)
EnumerationElementFacetBuilder
allowedValues(AllowableValues allowedValues)
EnumerationFacet
build()
EnumerationElementFacetBuilder
copyOf(ElementFacet facet)
static java.util.Set<java.lang.String>
from(AllowableValues allowableValues)
-
-
-
Method Detail
-
allowedValues
public EnumerationElementFacetBuilder allowedValues(java.util.Collection<java.lang.String> allowedValues)
-
allowedValues
public EnumerationElementFacetBuilder allowedValues(AllowableValues allowedValues)
-
build
public EnumerationFacet build()
- Specified by:
build
in interfaceElementFacetBuilder
-
copyOf
public EnumerationElementFacetBuilder copyOf(ElementFacet facet)
- Specified by:
copyOf
in interfaceElementFacetBuilder
-
from
public static java.util.Set<java.lang.String> from(AllowableValues allowableValues)
-
-