Module org.refcodes.observer
Package org.refcodes.observer
Interface PublisherTypeAccessor.PublisherTypeProperty
- All Superinterfaces:
PublisherTypeAccessor
,PublisherTypeAccessor.PublisherTypeMutator
- Enclosing interface:
- PublisherTypeAccessor
public static interface PublisherTypeAccessor.PublisherTypeProperty
extends PublisherTypeAccessor, PublisherTypeAccessor.PublisherTypeMutator
Provides a publisher's type property.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.observer.PublisherTypeAccessor
PublisherTypeAccessor.PublisherTypeBuilder<B extends PublisherTypeAccessor.PublisherTypeBuilder<B>>, PublisherTypeAccessor.PublisherTypeMutator, PublisherTypeAccessor.PublisherTypeProperty
-
Method Summary
Modifier and TypeMethodDescriptiondefault Class<?>
letPublisherType
(Class<?> aPublisherType) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given value (setter) as ofPublisherTypeAccessor.PublisherTypeMutator.setPublisherType(Class)
and returns the very same value (getter).Methods inherited from interface org.refcodes.observer.PublisherTypeAccessor
getPublisherType
Methods inherited from interface org.refcodes.observer.PublisherTypeAccessor.PublisherTypeMutator
setPublisherType
-
Method Details
-
letPublisherType
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given value (setter) as ofPublisherTypeAccessor.PublisherTypeMutator.setPublisherType(Class)
and returns the very same value (getter).- Parameters:
aPublisherType
- The value to set (viaPublisherTypeAccessor.PublisherTypeMutator.setPublisherType(Class)
).- Returns:
- Returns the value passed for it to be used in conclusive processing steps.
-