Module org.refcodes.mixin
Package org.refcodes.mixin
Interface AuthorityAccessor.AuthorityProperty<AUTH>
-
- Type Parameters:
AUTH
- The type of the credential property.
- All Superinterfaces:
AuthorityAccessor<AUTH>
,AuthorityAccessor.AuthorityMutator<AUTH>
- Enclosing interface:
- AuthorityAccessor<AUTH>
public static interface AuthorityAccessor.AuthorityProperty<AUTH> extends AuthorityAccessor<AUTH>, AuthorityAccessor.AuthorityMutator<AUTH>
* Provides a credential property for e.g. key / credential pair.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.refcodes.mixin.AuthorityAccessor
AuthorityAccessor.AuthorityMutator<AUTH>, AuthorityAccessor.AuthorityProperty<AUTH>
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default AUTH
letAuthority(AUTH aAuthority)
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given value (setter) as ofAuthorityAccessor.AuthorityMutator.setAuthority(Object)
and returns the very same value (getter).-
Methods inherited from interface org.refcodes.mixin.AuthorityAccessor
getAuthority
-
Methods inherited from interface org.refcodes.mixin.AuthorityAccessor.AuthorityMutator
setAuthority
-
-
-
-
Method Detail
-
letAuthority
default AUTH letAuthority(AUTH aAuthority)
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given value (setter) as ofAuthorityAccessor.AuthorityMutator.setAuthority(Object)
and returns the very same value (getter).- Parameters:
aAuthority
- The value to set (viaAuthorityAccessor.AuthorityMutator.setAuthority(Object)
).- Returns:
- Returns the value passed for it to be used in conclusive processing steps.
-
-