@FunctionalInterface public interface Service extends Principal
Modifier and Type | Field and Description |
---|---|
static org.slf4j.Logger |
LOGGER |
Modifier and Type | Method and Description |
---|---|
default boolean |
matches(Service service)
Whether the services matches another.
|
default void |
setPrincipal(java.lang.String principal)
Sets the principal.
|
getAttributes, getId
default void setPrincipal(java.lang.String principal)
principal
- the new principaldefault boolean matches(Service service)
service
- the service