public class TokenReviewSpecFluentImpl<A extends TokenReviewSpecFluent<A>> extends BaseFluent<A> implements TokenReviewSpecFluent<A>
_visitables
Constructor and Description |
---|
TokenReviewSpecFluentImpl() |
TokenReviewSpecFluentImpl(TokenReviewSpec instance) |
Modifier and Type | Method and Description |
---|---|
A |
addAllToAudiences(Collection<String> items) |
A |
addToAudiences(int index,
String item) |
A |
addToAudiences(String... items) |
boolean |
equals(Object o) |
String |
getAudience(int index) |
List<String> |
getAudiences() |
String |
getFirstAudience() |
String |
getLastAudience() |
String |
getMatchingAudience(Predicate<String> predicate) |
String |
getToken() |
Boolean |
hasAudiences() |
Boolean |
hasToken() |
A |
removeAllFromAudiences(Collection<String> items) |
A |
removeFromAudiences(String... items) |
A |
setToAudiences(int index,
String item) |
A |
withAudiences(List<String> audiences) |
A |
withAudiences(String... audiences) |
A |
withToken(String token) |
public TokenReviewSpecFluentImpl()
public TokenReviewSpecFluentImpl(TokenReviewSpec instance)
public A addToAudiences(int index, String item)
addToAudiences
in interface TokenReviewSpecFluent<A extends TokenReviewSpecFluent<A>>
public A setToAudiences(int index, String item)
setToAudiences
in interface TokenReviewSpecFluent<A extends TokenReviewSpecFluent<A>>
public A addToAudiences(String... items)
addToAudiences
in interface TokenReviewSpecFluent<A extends TokenReviewSpecFluent<A>>
public A addAllToAudiences(Collection<String> items)
addAllToAudiences
in interface TokenReviewSpecFluent<A extends TokenReviewSpecFluent<A>>
public A removeFromAudiences(String... items)
removeFromAudiences
in interface TokenReviewSpecFluent<A extends TokenReviewSpecFluent<A>>
public A removeAllFromAudiences(Collection<String> items)
removeAllFromAudiences
in interface TokenReviewSpecFluent<A extends TokenReviewSpecFluent<A>>
public List<String> getAudiences()
getAudiences
in interface TokenReviewSpecFluent<A extends TokenReviewSpecFluent<A>>
public String getAudience(int index)
getAudience
in interface TokenReviewSpecFluent<A extends TokenReviewSpecFluent<A>>
public String getFirstAudience()
getFirstAudience
in interface TokenReviewSpecFluent<A extends TokenReviewSpecFluent<A>>
public String getLastAudience()
getLastAudience
in interface TokenReviewSpecFluent<A extends TokenReviewSpecFluent<A>>
public String getMatchingAudience(Predicate<String> predicate)
getMatchingAudience
in interface TokenReviewSpecFluent<A extends TokenReviewSpecFluent<A>>
public A withAudiences(List<String> audiences)
withAudiences
in interface TokenReviewSpecFluent<A extends TokenReviewSpecFluent<A>>
public A withAudiences(String... audiences)
withAudiences
in interface TokenReviewSpecFluent<A extends TokenReviewSpecFluent<A>>
public Boolean hasAudiences()
hasAudiences
in interface TokenReviewSpecFluent<A extends TokenReviewSpecFluent<A>>
public String getToken()
getToken
in interface TokenReviewSpecFluent<A extends TokenReviewSpecFluent<A>>
public A withToken(String token)
withToken
in interface TokenReviewSpecFluent<A extends TokenReviewSpecFluent<A>>
public Boolean hasToken()
hasToken
in interface TokenReviewSpecFluent<A extends TokenReviewSpecFluent<A>>
Copyright © 2015–2018 Red Hat. All rights reserved.