Package io.fabric8.knative.messaging.v1
Class ChannelSpecFluentImpl<A extends ChannelSpecFluent<A>>
- java.lang.Object
-
- io.fabric8.kubernetes.api.builder.BaseFluent<A>
-
- io.fabric8.knative.messaging.v1.ChannelSpecFluentImpl<A>
-
- All Implemented Interfaces:
ChannelSpecFluent<A>,io.fabric8.kubernetes.api.builder.Fluent<A>,io.fabric8.kubernetes.api.builder.Visitable<A>
- Direct Known Subclasses:
ChannelFluentImpl.SpecNestedImpl,ChannelSpecBuilder
public class ChannelSpecFluentImpl<A extends ChannelSpecFluent<A>> extends io.fabric8.kubernetes.api.builder.BaseFluent<A> implements ChannelSpecFluent<A>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classChannelSpecFluentImpl.ChannelTemplateNestedImpl<N>classChannelSpecFluentImpl.DeliveryNestedImpl<N>classChannelSpecFluentImpl.SubscribersNestedImpl<N>-
Nested classes/interfaces inherited from interface io.fabric8.knative.messaging.v1.ChannelSpecFluent
ChannelSpecFluent.ChannelTemplateNested<N>, ChannelSpecFluent.DeliveryNested<N>, ChannelSpecFluent.SubscribersNested<N>
-
-
Constructor Summary
Constructors Constructor Description ChannelSpecFluentImpl()ChannelSpecFluentImpl(ChannelSpec instance)
-
Method Summary
-
-
-
Constructor Detail
-
ChannelSpecFluentImpl
public ChannelSpecFluentImpl()
-
ChannelSpecFluentImpl
public ChannelSpecFluentImpl(ChannelSpec instance)
-
-
Method Detail
-
getChannelTemplate
@Deprecated public ChannelTemplateSpec getChannelTemplate()
Deprecated.This method has been deprecated, please use method buildChannelTemplate instead.- Specified by:
getChannelTemplatein interfaceChannelSpecFluent<A extends ChannelSpecFluent<A>>- Returns:
- The buildable object.
-
buildChannelTemplate
public ChannelTemplateSpec buildChannelTemplate()
- Specified by:
buildChannelTemplatein interfaceChannelSpecFluent<A extends ChannelSpecFluent<A>>
-
withChannelTemplate
public A withChannelTemplate(ChannelTemplateSpec channelTemplate)
- Specified by:
withChannelTemplatein interfaceChannelSpecFluent<A extends ChannelSpecFluent<A>>
-
hasChannelTemplate
public Boolean hasChannelTemplate()
- Specified by:
hasChannelTemplatein interfaceChannelSpecFluent<A extends ChannelSpecFluent<A>>
-
withNewChannelTemplate
public ChannelSpecFluent.ChannelTemplateNested<A> withNewChannelTemplate()
- Specified by:
withNewChannelTemplatein interfaceChannelSpecFluent<A extends ChannelSpecFluent<A>>
-
withNewChannelTemplateLike
public ChannelSpecFluent.ChannelTemplateNested<A> withNewChannelTemplateLike(ChannelTemplateSpec item)
- Specified by:
withNewChannelTemplateLikein interfaceChannelSpecFluent<A extends ChannelSpecFluent<A>>
-
editChannelTemplate
public ChannelSpecFluent.ChannelTemplateNested<A> editChannelTemplate()
- Specified by:
editChannelTemplatein interfaceChannelSpecFluent<A extends ChannelSpecFluent<A>>
-
editOrNewChannelTemplate
public ChannelSpecFluent.ChannelTemplateNested<A> editOrNewChannelTemplate()
- Specified by:
editOrNewChannelTemplatein interfaceChannelSpecFluent<A extends ChannelSpecFluent<A>>
-
editOrNewChannelTemplateLike
public ChannelSpecFluent.ChannelTemplateNested<A> editOrNewChannelTemplateLike(ChannelTemplateSpec item)
- Specified by:
editOrNewChannelTemplateLikein interfaceChannelSpecFluent<A extends ChannelSpecFluent<A>>
-
getDelivery
@Deprecated public DeliverySpec getDelivery()
Deprecated.This method has been deprecated, please use method buildDelivery instead.- Specified by:
getDeliveryin interfaceChannelSpecFluent<A extends ChannelSpecFluent<A>>- Returns:
- The buildable object.
-
buildDelivery
public DeliverySpec buildDelivery()
- Specified by:
buildDeliveryin interfaceChannelSpecFluent<A extends ChannelSpecFluent<A>>
-
withDelivery
public A withDelivery(DeliverySpec delivery)
- Specified by:
withDeliveryin interfaceChannelSpecFluent<A extends ChannelSpecFluent<A>>
-
hasDelivery
public Boolean hasDelivery()
- Specified by:
hasDeliveryin interfaceChannelSpecFluent<A extends ChannelSpecFluent<A>>
-
withNewDelivery
public ChannelSpecFluent.DeliveryNested<A> withNewDelivery()
- Specified by:
withNewDeliveryin interfaceChannelSpecFluent<A extends ChannelSpecFluent<A>>
-
withNewDeliveryLike
public ChannelSpecFluent.DeliveryNested<A> withNewDeliveryLike(DeliverySpec item)
- Specified by:
withNewDeliveryLikein interfaceChannelSpecFluent<A extends ChannelSpecFluent<A>>
-
editDelivery
public ChannelSpecFluent.DeliveryNested<A> editDelivery()
- Specified by:
editDeliveryin interfaceChannelSpecFluent<A extends ChannelSpecFluent<A>>
-
editOrNewDelivery
public ChannelSpecFluent.DeliveryNested<A> editOrNewDelivery()
- Specified by:
editOrNewDeliveryin interfaceChannelSpecFluent<A extends ChannelSpecFluent<A>>
-
editOrNewDeliveryLike
public ChannelSpecFluent.DeliveryNested<A> editOrNewDeliveryLike(DeliverySpec item)
- Specified by:
editOrNewDeliveryLikein interfaceChannelSpecFluent<A extends ChannelSpecFluent<A>>
-
addToSubscribers
public A addToSubscribers(int index, SubscriberSpec item)
- Specified by:
addToSubscribersin interfaceChannelSpecFluent<A extends ChannelSpecFluent<A>>
-
setToSubscribers
public A setToSubscribers(int index, SubscriberSpec item)
- Specified by:
setToSubscribersin interfaceChannelSpecFluent<A extends ChannelSpecFluent<A>>
-
addToSubscribers
public A addToSubscribers(SubscriberSpec... items)
- Specified by:
addToSubscribersin interfaceChannelSpecFluent<A extends ChannelSpecFluent<A>>
-
addAllToSubscribers
public A addAllToSubscribers(Collection<SubscriberSpec> items)
- Specified by:
addAllToSubscribersin interfaceChannelSpecFluent<A extends ChannelSpecFluent<A>>
-
removeFromSubscribers
public A removeFromSubscribers(SubscriberSpec... items)
- Specified by:
removeFromSubscribersin interfaceChannelSpecFluent<A extends ChannelSpecFluent<A>>
-
removeAllFromSubscribers
public A removeAllFromSubscribers(Collection<SubscriberSpec> items)
- Specified by:
removeAllFromSubscribersin interfaceChannelSpecFluent<A extends ChannelSpecFluent<A>>
-
removeMatchingFromSubscribers
public A removeMatchingFromSubscribers(Predicate<SubscriberSpecBuilder> predicate)
- Specified by:
removeMatchingFromSubscribersin interfaceChannelSpecFluent<A extends ChannelSpecFluent<A>>
-
getSubscribers
@Deprecated public List<SubscriberSpec> getSubscribers()
Deprecated.This method has been deprecated, please use method buildSubscribers instead.- Specified by:
getSubscribersin interfaceChannelSpecFluent<A extends ChannelSpecFluent<A>>- Returns:
- The buildable object.
-
buildSubscribers
public List<SubscriberSpec> buildSubscribers()
- Specified by:
buildSubscribersin interfaceChannelSpecFluent<A extends ChannelSpecFluent<A>>
-
buildSubscriber
public SubscriberSpec buildSubscriber(int index)
- Specified by:
buildSubscriberin interfaceChannelSpecFluent<A extends ChannelSpecFluent<A>>
-
buildFirstSubscriber
public SubscriberSpec buildFirstSubscriber()
- Specified by:
buildFirstSubscriberin interfaceChannelSpecFluent<A extends ChannelSpecFluent<A>>
-
buildLastSubscriber
public SubscriberSpec buildLastSubscriber()
- Specified by:
buildLastSubscriberin interfaceChannelSpecFluent<A extends ChannelSpecFluent<A>>
-
buildMatchingSubscriber
public SubscriberSpec buildMatchingSubscriber(Predicate<SubscriberSpecBuilder> predicate)
- Specified by:
buildMatchingSubscriberin interfaceChannelSpecFluent<A extends ChannelSpecFluent<A>>
-
hasMatchingSubscriber
public Boolean hasMatchingSubscriber(Predicate<SubscriberSpecBuilder> predicate)
- Specified by:
hasMatchingSubscriberin interfaceChannelSpecFluent<A extends ChannelSpecFluent<A>>
-
withSubscribers
public A withSubscribers(List<SubscriberSpec> subscribers)
- Specified by:
withSubscribersin interfaceChannelSpecFluent<A extends ChannelSpecFluent<A>>
-
withSubscribers
public A withSubscribers(SubscriberSpec... subscribers)
- Specified by:
withSubscribersin interfaceChannelSpecFluent<A extends ChannelSpecFluent<A>>
-
hasSubscribers
public Boolean hasSubscribers()
- Specified by:
hasSubscribersin interfaceChannelSpecFluent<A extends ChannelSpecFluent<A>>
-
addNewSubscriber
public ChannelSpecFluent.SubscribersNested<A> addNewSubscriber()
- Specified by:
addNewSubscriberin interfaceChannelSpecFluent<A extends ChannelSpecFluent<A>>
-
addNewSubscriberLike
public ChannelSpecFluent.SubscribersNested<A> addNewSubscriberLike(SubscriberSpec item)
- Specified by:
addNewSubscriberLikein interfaceChannelSpecFluent<A extends ChannelSpecFluent<A>>
-
setNewSubscriberLike
public ChannelSpecFluent.SubscribersNested<A> setNewSubscriberLike(int index, SubscriberSpec item)
- Specified by:
setNewSubscriberLikein interfaceChannelSpecFluent<A extends ChannelSpecFluent<A>>
-
editSubscriber
public ChannelSpecFluent.SubscribersNested<A> editSubscriber(int index)
- Specified by:
editSubscriberin interfaceChannelSpecFluent<A extends ChannelSpecFluent<A>>
-
editFirstSubscriber
public ChannelSpecFluent.SubscribersNested<A> editFirstSubscriber()
- Specified by:
editFirstSubscriberin interfaceChannelSpecFluent<A extends ChannelSpecFluent<A>>
-
editLastSubscriber
public ChannelSpecFluent.SubscribersNested<A> editLastSubscriber()
- Specified by:
editLastSubscriberin interfaceChannelSpecFluent<A extends ChannelSpecFluent<A>>
-
editMatchingSubscriber
public ChannelSpecFluent.SubscribersNested<A> editMatchingSubscriber(Predicate<SubscriberSpecBuilder> predicate)
- Specified by:
editMatchingSubscriberin interfaceChannelSpecFluent<A extends ChannelSpecFluent<A>>
-
-