Interface ProductContract.DefinitionStages.WithState
-
- All Known Subinterfaces:
ProductContract.Definition
,ProductContract.DefinitionStages.WithCreate
- Enclosing interface:
- ProductContract.DefinitionStages
public static interface ProductContract.DefinitionStages.WithState
The stage of the ProductContract definition allowing to specify state.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ProductContract.DefinitionStages.WithCreate
withState(ProductState state)
Specifies the state property: whether product is published or not.
-
-
-
Method Detail
-
withState
ProductContract.DefinitionStages.WithCreate withState(ProductState state)
Specifies the state property: whether product is published or not. Published products are discoverable by users of developer portal. Non published products are visible only to administrators. Default state of Product is notPublished..- Parameters:
state
- whether product is published or not. Published products are discoverable by users of developer portal. Non published products are visible only to administrators. Default state of Product is notPublished.- Returns:
- the next definition stage.
-
-