public class WebhookFluentImpl<A extends WebhookFluent<A>> extends BaseFluent<A> implements WebhookFluent<A>
Modifier and Type | Class and Description |
---|---|
class |
WebhookFluentImpl.ClientConfigNestedImpl<N> |
class |
WebhookFluentImpl.NamespaceSelectorNestedImpl<N> |
class |
WebhookFluentImpl.RulesNestedImpl<N> |
WebhookFluent.ClientConfigNested<N>, WebhookFluent.NamespaceSelectorNested<N>, WebhookFluent.RulesNested<N>
_visitables
Constructor and Description |
---|
WebhookFluentImpl() |
WebhookFluentImpl(Webhook instance) |
public WebhookFluentImpl()
public WebhookFluentImpl(Webhook instance)
@Deprecated public WebhookClientConfig getClientConfig()
getClientConfig
in interface WebhookFluent<A extends WebhookFluent<A>>
public WebhookClientConfig buildClientConfig()
buildClientConfig
in interface WebhookFluent<A extends WebhookFluent<A>>
public A withClientConfig(WebhookClientConfig clientConfig)
withClientConfig
in interface WebhookFluent<A extends WebhookFluent<A>>
public Boolean hasClientConfig()
hasClientConfig
in interface WebhookFluent<A extends WebhookFluent<A>>
public WebhookFluent.ClientConfigNested<A> withNewClientConfig()
withNewClientConfig
in interface WebhookFluent<A extends WebhookFluent<A>>
public WebhookFluent.ClientConfigNested<A> withNewClientConfigLike(WebhookClientConfig item)
withNewClientConfigLike
in interface WebhookFluent<A extends WebhookFluent<A>>
public WebhookFluent.ClientConfigNested<A> editClientConfig()
editClientConfig
in interface WebhookFluent<A extends WebhookFluent<A>>
public WebhookFluent.ClientConfigNested<A> editOrNewClientConfig()
editOrNewClientConfig
in interface WebhookFluent<A extends WebhookFluent<A>>
public WebhookFluent.ClientConfigNested<A> editOrNewClientConfigLike(WebhookClientConfig item)
editOrNewClientConfigLike
in interface WebhookFluent<A extends WebhookFluent<A>>
public String getFailurePolicy()
getFailurePolicy
in interface WebhookFluent<A extends WebhookFluent<A>>
public A withFailurePolicy(String failurePolicy)
withFailurePolicy
in interface WebhookFluent<A extends WebhookFluent<A>>
public Boolean hasFailurePolicy()
hasFailurePolicy
in interface WebhookFluent<A extends WebhookFluent<A>>
public String getName()
getName
in interface WebhookFluent<A extends WebhookFluent<A>>
public A withName(String name)
withName
in interface WebhookFluent<A extends WebhookFluent<A>>
public Boolean hasName()
hasName
in interface WebhookFluent<A extends WebhookFluent<A>>
@Deprecated public LabelSelector getNamespaceSelector()
getNamespaceSelector
in interface WebhookFluent<A extends WebhookFluent<A>>
public LabelSelector buildNamespaceSelector()
buildNamespaceSelector
in interface WebhookFluent<A extends WebhookFluent<A>>
public A withNamespaceSelector(LabelSelector namespaceSelector)
withNamespaceSelector
in interface WebhookFluent<A extends WebhookFluent<A>>
public Boolean hasNamespaceSelector()
hasNamespaceSelector
in interface WebhookFluent<A extends WebhookFluent<A>>
public WebhookFluent.NamespaceSelectorNested<A> withNewNamespaceSelector()
withNewNamespaceSelector
in interface WebhookFluent<A extends WebhookFluent<A>>
public WebhookFluent.NamespaceSelectorNested<A> withNewNamespaceSelectorLike(LabelSelector item)
withNewNamespaceSelectorLike
in interface WebhookFluent<A extends WebhookFluent<A>>
public WebhookFluent.NamespaceSelectorNested<A> editNamespaceSelector()
editNamespaceSelector
in interface WebhookFluent<A extends WebhookFluent<A>>
public WebhookFluent.NamespaceSelectorNested<A> editOrNewNamespaceSelector()
editOrNewNamespaceSelector
in interface WebhookFluent<A extends WebhookFluent<A>>
public WebhookFluent.NamespaceSelectorNested<A> editOrNewNamespaceSelectorLike(LabelSelector item)
editOrNewNamespaceSelectorLike
in interface WebhookFluent<A extends WebhookFluent<A>>
public A addToRules(int index, RuleWithOperations item)
addToRules
in interface WebhookFluent<A extends WebhookFluent<A>>
public A setToRules(int index, RuleWithOperations item)
setToRules
in interface WebhookFluent<A extends WebhookFluent<A>>
public A addToRules(RuleWithOperations... items)
addToRules
in interface WebhookFluent<A extends WebhookFluent<A>>
public A addAllToRules(Collection<RuleWithOperations> items)
addAllToRules
in interface WebhookFluent<A extends WebhookFluent<A>>
public A removeFromRules(RuleWithOperations... items)
removeFromRules
in interface WebhookFluent<A extends WebhookFluent<A>>
public A removeAllFromRules(Collection<RuleWithOperations> items)
removeAllFromRules
in interface WebhookFluent<A extends WebhookFluent<A>>
@Deprecated public List<RuleWithOperations> getRules()
getRules
in interface WebhookFluent<A extends WebhookFluent<A>>
public List<RuleWithOperations> buildRules()
buildRules
in interface WebhookFluent<A extends WebhookFluent<A>>
public RuleWithOperations buildRule(int index)
buildRule
in interface WebhookFluent<A extends WebhookFluent<A>>
public RuleWithOperations buildFirstRule()
buildFirstRule
in interface WebhookFluent<A extends WebhookFluent<A>>
public RuleWithOperations buildLastRule()
buildLastRule
in interface WebhookFluent<A extends WebhookFluent<A>>
public RuleWithOperations buildMatchingRule(Predicate<RuleWithOperationsBuilder> predicate)
buildMatchingRule
in interface WebhookFluent<A extends WebhookFluent<A>>
public A withRules(List<RuleWithOperations> rules)
withRules
in interface WebhookFluent<A extends WebhookFluent<A>>
public A withRules(RuleWithOperations... rules)
withRules
in interface WebhookFluent<A extends WebhookFluent<A>>
public Boolean hasRules()
hasRules
in interface WebhookFluent<A extends WebhookFluent<A>>
public WebhookFluent.RulesNested<A> addNewRule()
addNewRule
in interface WebhookFluent<A extends WebhookFluent<A>>
public WebhookFluent.RulesNested<A> addNewRuleLike(RuleWithOperations item)
addNewRuleLike
in interface WebhookFluent<A extends WebhookFluent<A>>
public WebhookFluent.RulesNested<A> setNewRuleLike(int index, RuleWithOperations item)
setNewRuleLike
in interface WebhookFluent<A extends WebhookFluent<A>>
public WebhookFluent.RulesNested<A> editRule(int index)
editRule
in interface WebhookFluent<A extends WebhookFluent<A>>
public WebhookFluent.RulesNested<A> editFirstRule()
editFirstRule
in interface WebhookFluent<A extends WebhookFluent<A>>
public WebhookFluent.RulesNested<A> editLastRule()
editLastRule
in interface WebhookFluent<A extends WebhookFluent<A>>
public WebhookFluent.RulesNested<A> editMatchingRule(Predicate<RuleWithOperationsBuilder> predicate)
editMatchingRule
in interface WebhookFluent<A extends WebhookFluent<A>>
public String getSideEffects()
getSideEffects
in interface WebhookFluent<A extends WebhookFluent<A>>
public A withSideEffects(String sideEffects)
withSideEffects
in interface WebhookFluent<A extends WebhookFluent<A>>
public Boolean hasSideEffects()
hasSideEffects
in interface WebhookFluent<A extends WebhookFluent<A>>
Copyright © 2015–2018 Red Hat. All rights reserved.