- All Known Subinterfaces:
SubjectAccessor.SubjectProperty
public interface SubjectAccessor
Provides an accessor for a subject property.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Provides a builder method for the according property returning the builder for applying multiple build operations.static interface
Provides a mutator for a subject property.static interface
Provides a subject property. -
Method Summary
Modifier and TypeMethodDescription<S> S
Retrieves the subject from the subject property.
-
Method Details
-
getSubject
<S> S getSubject()Retrieves the subject from the subject property.- Type Parameters:
S
- The expected type of the subject.- Returns:
- The subject stored by the subject property.
-