public class ContextFluentImpl<A extends ContextFluent<A>> extends BaseFluent<A> implements ContextFluent<A>
Modifier and Type | Class and Description |
---|---|
class |
ContextFluentImpl.ExtensionsNestedImpl<N> |
ContextFluent.ExtensionsNested<N>
_visitables
Constructor and Description |
---|
ContextFluentImpl() |
ContextFluentImpl(Context instance) |
public ContextFluentImpl()
public ContextFluentImpl(Context instance)
public String getCluster()
getCluster
in interface ContextFluent<A extends ContextFluent<A>>
public A withCluster(String cluster)
withCluster
in interface ContextFluent<A extends ContextFluent<A>>
public Boolean hasCluster()
hasCluster
in interface ContextFluent<A extends ContextFluent<A>>
public A addToExtensions(int index, NamedExtension item)
addToExtensions
in interface ContextFluent<A extends ContextFluent<A>>
public A setToExtensions(int index, NamedExtension item)
setToExtensions
in interface ContextFluent<A extends ContextFluent<A>>
public A addToExtensions(NamedExtension... items)
addToExtensions
in interface ContextFluent<A extends ContextFluent<A>>
public A addAllToExtensions(Collection<NamedExtension> items)
addAllToExtensions
in interface ContextFluent<A extends ContextFluent<A>>
public A removeFromExtensions(NamedExtension... items)
removeFromExtensions
in interface ContextFluent<A extends ContextFluent<A>>
public A removeAllFromExtensions(Collection<NamedExtension> items)
removeAllFromExtensions
in interface ContextFluent<A extends ContextFluent<A>>
@Deprecated public List<NamedExtension> getExtensions()
getExtensions
in interface ContextFluent<A extends ContextFluent<A>>
public List<NamedExtension> buildExtensions()
buildExtensions
in interface ContextFluent<A extends ContextFluent<A>>
public NamedExtension buildExtension(int index)
buildExtension
in interface ContextFluent<A extends ContextFluent<A>>
public NamedExtension buildFirstExtension()
buildFirstExtension
in interface ContextFluent<A extends ContextFluent<A>>
public NamedExtension buildLastExtension()
buildLastExtension
in interface ContextFluent<A extends ContextFluent<A>>
public NamedExtension buildMatchingExtension(Predicate<NamedExtensionBuilder> predicate)
buildMatchingExtension
in interface ContextFluent<A extends ContextFluent<A>>
public A withExtensions(List<NamedExtension> extensions)
withExtensions
in interface ContextFluent<A extends ContextFluent<A>>
public A withExtensions(NamedExtension... extensions)
withExtensions
in interface ContextFluent<A extends ContextFluent<A>>
public Boolean hasExtensions()
hasExtensions
in interface ContextFluent<A extends ContextFluent<A>>
public ContextFluent.ExtensionsNested<A> addNewExtension()
addNewExtension
in interface ContextFluent<A extends ContextFluent<A>>
public ContextFluent.ExtensionsNested<A> addNewExtensionLike(NamedExtension item)
addNewExtensionLike
in interface ContextFluent<A extends ContextFluent<A>>
public ContextFluent.ExtensionsNested<A> setNewExtensionLike(int index, NamedExtension item)
setNewExtensionLike
in interface ContextFluent<A extends ContextFluent<A>>
public ContextFluent.ExtensionsNested<A> editExtension(int index)
editExtension
in interface ContextFluent<A extends ContextFluent<A>>
public ContextFluent.ExtensionsNested<A> editFirstExtension()
editFirstExtension
in interface ContextFluent<A extends ContextFluent<A>>
public ContextFluent.ExtensionsNested<A> editLastExtension()
editLastExtension
in interface ContextFluent<A extends ContextFluent<A>>
public ContextFluent.ExtensionsNested<A> editMatchingExtension(Predicate<NamedExtensionBuilder> predicate)
editMatchingExtension
in interface ContextFluent<A extends ContextFluent<A>>
public String getNamespace()
getNamespace
in interface ContextFluent<A extends ContextFluent<A>>
public A withNamespace(String namespace)
withNamespace
in interface ContextFluent<A extends ContextFluent<A>>
public Boolean hasNamespace()
hasNamespace
in interface ContextFluent<A extends ContextFluent<A>>
public String getUser()
getUser
in interface ContextFluent<A extends ContextFluent<A>>
public A withUser(String user)
withUser
in interface ContextFluent<A extends ContextFluent<A>>
public Boolean hasUser()
hasUser
in interface ContextFluent<A extends ContextFluent<A>>
Copyright © 2011–2018 Red Hat. All rights reserved.