public interface Editable<T>
Modifier and Type | Method and Description |
---|---|
T |
accept(Consumer<T> function)
Issues a JSON patch against the item based upon the changes made by the function provided as argument
|
<V> T |
edit(Class<V> visitorType,
io.fabric8.kubernetes.api.builder.Visitor<V> visitor)
Issues a JSON patch against the item based upon the changes made to the object by the visitor.
|
T |
edit(UnaryOperator<T> function)
Issues a JSON patch against the item based upon the changes made to the object returned by the function.
|
T |
edit(io.fabric8.kubernetes.api.builder.Visitor... visitors)
Issues a JSON patch against the item based upon the changes made to the object by the visitors.
|
T edit(UnaryOperator<T> function)
It is generally convenient to use a Builder constructed off of the item.
function
- to modify the itemT edit(io.fabric8.kubernetes.api.builder.Visitor... visitors)
visitors
- to modify the Builder<V> T edit(Class<V> visitorType, io.fabric8.kubernetes.api.builder.Visitor<V> visitor)
visitorType
- to create a TypedVisitor
visitor
- to modify the BuilderCopyright © 2015–2020 Red Hat. All rights reserved.