public class UserRestrictionFluentImpl<A extends UserRestrictionFluent<A>> extends BaseFluent<A> implements UserRestrictionFluent<A>
| Modifier and Type | Class and Description |
|---|---|
class |
UserRestrictionFluentImpl.LabelsNestedImpl<N> |
UserRestrictionFluent.LabelsNested<N>_visitables| Constructor and Description |
|---|
UserRestrictionFluentImpl() |
UserRestrictionFluentImpl(UserRestriction instance) |
public UserRestrictionFluentImpl()
public UserRestrictionFluentImpl(UserRestriction instance)
public A addToGroups(int index, String item)
addToGroups in interface UserRestrictionFluent<A extends UserRestrictionFluent<A>>public A setToGroups(int index, String item)
setToGroups in interface UserRestrictionFluent<A extends UserRestrictionFluent<A>>public A addToGroups(String... items)
addToGroups in interface UserRestrictionFluent<A extends UserRestrictionFluent<A>>public A addAllToGroups(Collection<String> items)
addAllToGroups in interface UserRestrictionFluent<A extends UserRestrictionFluent<A>>public A removeFromGroups(String... items)
removeFromGroups in interface UserRestrictionFluent<A extends UserRestrictionFluent<A>>public A removeAllFromGroups(Collection<String> items)
removeAllFromGroups in interface UserRestrictionFluent<A extends UserRestrictionFluent<A>>public List<String> getGroups()
getGroups in interface UserRestrictionFluent<A extends UserRestrictionFluent<A>>public String getGroup(int index)
getGroup in interface UserRestrictionFluent<A extends UserRestrictionFluent<A>>public String getFirstGroup()
getFirstGroup in interface UserRestrictionFluent<A extends UserRestrictionFluent<A>>public String getLastGroup()
getLastGroup in interface UserRestrictionFluent<A extends UserRestrictionFluent<A>>public String getMatchingGroup(Predicate<String> predicate)
getMatchingGroup in interface UserRestrictionFluent<A extends UserRestrictionFluent<A>>public A withGroups(List<String> groups)
withGroups in interface UserRestrictionFluent<A extends UserRestrictionFluent<A>>public A withGroups(String... groups)
withGroups in interface UserRestrictionFluent<A extends UserRestrictionFluent<A>>public Boolean hasGroups()
hasGroups in interface UserRestrictionFluent<A extends UserRestrictionFluent<A>>public A addToLabels(int index, LabelSelector item)
addToLabels in interface UserRestrictionFluent<A extends UserRestrictionFluent<A>>public A setToLabels(int index, LabelSelector item)
setToLabels in interface UserRestrictionFluent<A extends UserRestrictionFluent<A>>public A addToLabels(LabelSelector... items)
addToLabels in interface UserRestrictionFluent<A extends UserRestrictionFluent<A>>public A addAllToLabels(Collection<LabelSelector> items)
addAllToLabels in interface UserRestrictionFluent<A extends UserRestrictionFluent<A>>public A removeFromLabels(LabelSelector... items)
removeFromLabels in interface UserRestrictionFluent<A extends UserRestrictionFluent<A>>public A removeAllFromLabels(Collection<LabelSelector> items)
removeAllFromLabels in interface UserRestrictionFluent<A extends UserRestrictionFluent<A>>@Deprecated public List<LabelSelector> getLabels()
getLabels in interface UserRestrictionFluent<A extends UserRestrictionFluent<A>>public List<LabelSelector> buildLabels()
buildLabels in interface UserRestrictionFluent<A extends UserRestrictionFluent<A>>public LabelSelector buildLabel(int index)
buildLabel in interface UserRestrictionFluent<A extends UserRestrictionFluent<A>>public LabelSelector buildFirstLabel()
buildFirstLabel in interface UserRestrictionFluent<A extends UserRestrictionFluent<A>>public LabelSelector buildLastLabel()
buildLastLabel in interface UserRestrictionFluent<A extends UserRestrictionFluent<A>>public LabelSelector buildMatchingLabel(Predicate<LabelSelectorBuilder> predicate)
buildMatchingLabel in interface UserRestrictionFluent<A extends UserRestrictionFluent<A>>public A withLabels(List<LabelSelector> labels)
withLabels in interface UserRestrictionFluent<A extends UserRestrictionFluent<A>>public A withLabels(LabelSelector... labels)
withLabels in interface UserRestrictionFluent<A extends UserRestrictionFluent<A>>public Boolean hasLabels()
hasLabels in interface UserRestrictionFluent<A extends UserRestrictionFluent<A>>public UserRestrictionFluent.LabelsNested<A> addNewLabel()
addNewLabel in interface UserRestrictionFluent<A extends UserRestrictionFluent<A>>public UserRestrictionFluent.LabelsNested<A> addNewLabelLike(LabelSelector item)
addNewLabelLike in interface UserRestrictionFluent<A extends UserRestrictionFluent<A>>public UserRestrictionFluent.LabelsNested<A> setNewLabelLike(int index, LabelSelector item)
setNewLabelLike in interface UserRestrictionFluent<A extends UserRestrictionFluent<A>>public UserRestrictionFluent.LabelsNested<A> editLabel(int index)
editLabel in interface UserRestrictionFluent<A extends UserRestrictionFluent<A>>public UserRestrictionFluent.LabelsNested<A> editFirstLabel()
editFirstLabel in interface UserRestrictionFluent<A extends UserRestrictionFluent<A>>public UserRestrictionFluent.LabelsNested<A> editLastLabel()
editLastLabel in interface UserRestrictionFluent<A extends UserRestrictionFluent<A>>public UserRestrictionFluent.LabelsNested<A> editMatchingLabel(Predicate<LabelSelectorBuilder> predicate)
editMatchingLabel in interface UserRestrictionFluent<A extends UserRestrictionFluent<A>>public A addToUsers(int index, String item)
addToUsers in interface UserRestrictionFluent<A extends UserRestrictionFluent<A>>public A setToUsers(int index, String item)
setToUsers in interface UserRestrictionFluent<A extends UserRestrictionFluent<A>>public A addToUsers(String... items)
addToUsers in interface UserRestrictionFluent<A extends UserRestrictionFluent<A>>public A addAllToUsers(Collection<String> items)
addAllToUsers in interface UserRestrictionFluent<A extends UserRestrictionFluent<A>>public A removeFromUsers(String... items)
removeFromUsers in interface UserRestrictionFluent<A extends UserRestrictionFluent<A>>public A removeAllFromUsers(Collection<String> items)
removeAllFromUsers in interface UserRestrictionFluent<A extends UserRestrictionFluent<A>>public List<String> getUsers()
getUsers in interface UserRestrictionFluent<A extends UserRestrictionFluent<A>>public String getUser(int index)
getUser in interface UserRestrictionFluent<A extends UserRestrictionFluent<A>>public String getFirstUser()
getFirstUser in interface UserRestrictionFluent<A extends UserRestrictionFluent<A>>public String getLastUser()
getLastUser in interface UserRestrictionFluent<A extends UserRestrictionFluent<A>>public String getMatchingUser(Predicate<String> predicate)
getMatchingUser in interface UserRestrictionFluent<A extends UserRestrictionFluent<A>>public A withUsers(List<String> users)
withUsers in interface UserRestrictionFluent<A extends UserRestrictionFluent<A>>public A withUsers(String... users)
withUsers in interface UserRestrictionFluent<A extends UserRestrictionFluent<A>>public Boolean hasUsers()
hasUsers in interface UserRestrictionFluent<A extends UserRestrictionFluent<A>>Copyright © 2011–2018 Red Hat. All rights reserved.