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) |
Modifier and Type | Method and Description |
---|---|
A |
addAllToGroups(java.util.Collection<java.lang.String> items) |
A |
addAllToLabels(java.util.Collection<LabelSelector> items) |
A |
addAllToUsers(java.util.Collection<java.lang.String> items) |
A |
addNewGroup(java.lang.String arg1) |
A |
addNewGroup(java.lang.StringBuffer arg1) |
A |
addNewGroup(java.lang.StringBuilder arg1) |
UserRestrictionFluent.LabelsNested<A> |
addNewLabel() |
UserRestrictionFluent.LabelsNested<A> |
addNewLabelLike(LabelSelector item) |
A |
addNewUser(java.lang.String arg1) |
A |
addNewUser(java.lang.StringBuffer arg1) |
A |
addNewUser(java.lang.StringBuilder arg1) |
A |
addToGroups(int index,
java.lang.String item) |
A |
addToGroups(java.lang.String... items) |
A |
addToLabels(int index,
LabelSelector item) |
A |
addToLabels(LabelSelector... items) |
A |
addToUsers(int index,
java.lang.String item) |
A |
addToUsers(java.lang.String... items) |
LabelSelector |
buildFirstLabel() |
LabelSelector |
buildLabel(int index) |
java.util.List<LabelSelector> |
buildLabels() |
LabelSelector |
buildLastLabel() |
LabelSelector |
buildMatchingLabel(Predicate<LabelSelectorBuilder> predicate) |
UserRestrictionFluent.LabelsNested<A> |
editFirstLabel() |
UserRestrictionFluent.LabelsNested<A> |
editLabel(int index) |
UserRestrictionFluent.LabelsNested<A> |
editLastLabel() |
UserRestrictionFluent.LabelsNested<A> |
editMatchingLabel(Predicate<LabelSelectorBuilder> predicate) |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getFirstGroup() |
java.lang.String |
getFirstUser() |
java.lang.String |
getGroup(int index) |
java.util.List<java.lang.String> |
getGroups() |
java.util.List<LabelSelector> |
getLabels()
Deprecated.
|
java.lang.String |
getLastGroup() |
java.lang.String |
getLastUser() |
java.lang.String |
getMatchingGroup(Predicate<java.lang.String> predicate) |
java.lang.String |
getMatchingUser(Predicate<java.lang.String> predicate) |
java.lang.String |
getUser(int index) |
java.util.List<java.lang.String> |
getUsers() |
java.lang.Boolean |
hasGroups() |
java.lang.Boolean |
hasLabels() |
java.lang.Boolean |
hasMatchingGroup(Predicate<java.lang.String> predicate) |
java.lang.Boolean |
hasMatchingLabel(Predicate<LabelSelectorBuilder> predicate) |
java.lang.Boolean |
hasMatchingUser(Predicate<java.lang.String> predicate) |
java.lang.Boolean |
hasUsers() |
A |
removeAllFromGroups(java.util.Collection<java.lang.String> items) |
A |
removeAllFromLabels(java.util.Collection<LabelSelector> items) |
A |
removeAllFromUsers(java.util.Collection<java.lang.String> items) |
A |
removeFromGroups(java.lang.String... items) |
A |
removeFromLabels(LabelSelector... items) |
A |
removeFromUsers(java.lang.String... items) |
UserRestrictionFluent.LabelsNested<A> |
setNewLabelLike(int index,
LabelSelector item) |
A |
setToGroups(int index,
java.lang.String item) |
A |
setToLabels(int index,
LabelSelector item) |
A |
setToUsers(int index,
java.lang.String item) |
A |
withGroups(java.util.List<java.lang.String> groups) |
A |
withGroups(java.lang.String... groups) |
A |
withLabels(LabelSelector... labels) |
A |
withLabels(java.util.List<LabelSelector> labels) |
A |
withUsers(java.util.List<java.lang.String> users) |
A |
withUsers(java.lang.String... users) |
public UserRestrictionFluentImpl()
public UserRestrictionFluentImpl(UserRestriction instance)
public A addToGroups(int index, java.lang.String item)
addToGroups
in interface UserRestrictionFluent<A extends UserRestrictionFluent<A>>
public A setToGroups(int index, java.lang.String item)
setToGroups
in interface UserRestrictionFluent<A extends UserRestrictionFluent<A>>
public A addToGroups(java.lang.String... items)
addToGroups
in interface UserRestrictionFluent<A extends UserRestrictionFluent<A>>
public A addAllToGroups(java.util.Collection<java.lang.String> items)
addAllToGroups
in interface UserRestrictionFluent<A extends UserRestrictionFluent<A>>
public A removeFromGroups(java.lang.String... items)
removeFromGroups
in interface UserRestrictionFluent<A extends UserRestrictionFluent<A>>
public A removeAllFromGroups(java.util.Collection<java.lang.String> items)
removeAllFromGroups
in interface UserRestrictionFluent<A extends UserRestrictionFluent<A>>
public java.util.List<java.lang.String> getGroups()
getGroups
in interface UserRestrictionFluent<A extends UserRestrictionFluent<A>>
public java.lang.String getGroup(int index)
getGroup
in interface UserRestrictionFluent<A extends UserRestrictionFluent<A>>
public java.lang.String getFirstGroup()
getFirstGroup
in interface UserRestrictionFluent<A extends UserRestrictionFluent<A>>
public java.lang.String getLastGroup()
getLastGroup
in interface UserRestrictionFluent<A extends UserRestrictionFluent<A>>
public java.lang.String getMatchingGroup(Predicate<java.lang.String> predicate)
getMatchingGroup
in interface UserRestrictionFluent<A extends UserRestrictionFluent<A>>
public java.lang.Boolean hasMatchingGroup(Predicate<java.lang.String> predicate)
hasMatchingGroup
in interface UserRestrictionFluent<A extends UserRestrictionFluent<A>>
public A withGroups(java.util.List<java.lang.String> groups)
withGroups
in interface UserRestrictionFluent<A extends UserRestrictionFluent<A>>
public A withGroups(java.lang.String... groups)
withGroups
in interface UserRestrictionFluent<A extends UserRestrictionFluent<A>>
public java.lang.Boolean hasGroups()
hasGroups
in interface UserRestrictionFluent<A extends UserRestrictionFluent<A>>
public A addNewGroup(java.lang.String arg1)
addNewGroup
in interface UserRestrictionFluent<A extends UserRestrictionFluent<A>>
public A addNewGroup(java.lang.StringBuilder arg1)
addNewGroup
in interface UserRestrictionFluent<A extends UserRestrictionFluent<A>>
public A addNewGroup(java.lang.StringBuffer arg1)
addNewGroup
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(java.util.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(java.util.Collection<LabelSelector> items)
removeAllFromLabels
in interface UserRestrictionFluent<A extends UserRestrictionFluent<A>>
@Deprecated public java.util.List<LabelSelector> getLabels()
getLabels
in interface UserRestrictionFluent<A extends UserRestrictionFluent<A>>
public java.util.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 java.lang.Boolean hasMatchingLabel(Predicate<LabelSelectorBuilder> predicate)
hasMatchingLabel
in interface UserRestrictionFluent<A extends UserRestrictionFluent<A>>
public A withLabels(java.util.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 java.lang.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, java.lang.String item)
addToUsers
in interface UserRestrictionFluent<A extends UserRestrictionFluent<A>>
public A setToUsers(int index, java.lang.String item)
setToUsers
in interface UserRestrictionFluent<A extends UserRestrictionFluent<A>>
public A addToUsers(java.lang.String... items)
addToUsers
in interface UserRestrictionFluent<A extends UserRestrictionFluent<A>>
public A addAllToUsers(java.util.Collection<java.lang.String> items)
addAllToUsers
in interface UserRestrictionFluent<A extends UserRestrictionFluent<A>>
public A removeFromUsers(java.lang.String... items)
removeFromUsers
in interface UserRestrictionFluent<A extends UserRestrictionFluent<A>>
public A removeAllFromUsers(java.util.Collection<java.lang.String> items)
removeAllFromUsers
in interface UserRestrictionFluent<A extends UserRestrictionFluent<A>>
public java.util.List<java.lang.String> getUsers()
getUsers
in interface UserRestrictionFluent<A extends UserRestrictionFluent<A>>
public java.lang.String getUser(int index)
getUser
in interface UserRestrictionFluent<A extends UserRestrictionFluent<A>>
public java.lang.String getFirstUser()
getFirstUser
in interface UserRestrictionFluent<A extends UserRestrictionFluent<A>>
public java.lang.String getLastUser()
getLastUser
in interface UserRestrictionFluent<A extends UserRestrictionFluent<A>>
public java.lang.String getMatchingUser(Predicate<java.lang.String> predicate)
getMatchingUser
in interface UserRestrictionFluent<A extends UserRestrictionFluent<A>>
public java.lang.Boolean hasMatchingUser(Predicate<java.lang.String> predicate)
hasMatchingUser
in interface UserRestrictionFluent<A extends UserRestrictionFluent<A>>
public A withUsers(java.util.List<java.lang.String> users)
withUsers
in interface UserRestrictionFluent<A extends UserRestrictionFluent<A>>
public A withUsers(java.lang.String... users)
withUsers
in interface UserRestrictionFluent<A extends UserRestrictionFluent<A>>
public java.lang.Boolean hasUsers()
hasUsers
in interface UserRestrictionFluent<A extends UserRestrictionFluent<A>>
public A addNewUser(java.lang.String arg1)
addNewUser
in interface UserRestrictionFluent<A extends UserRestrictionFluent<A>>
public A addNewUser(java.lang.StringBuilder arg1)
addNewUser
in interface UserRestrictionFluent<A extends UserRestrictionFluent<A>>
public A addNewUser(java.lang.StringBuffer arg1)
addNewUser
in interface UserRestrictionFluent<A extends UserRestrictionFluent<A>>
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
Copyright © 2015-2019 Red Hat. All Rights Reserved.