org.apereo.cas.consent.ConsentableAttributeBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cas-server-support-consent-api Show documentation
Show all versions of cas-server-support-consent-api Show documentation
cas-server-support-consent-api
package org.apereo.cas.consent;
import org.springframework.core.Ordered;
/**
* This is {@link ConsentableAttributeBuilder}.
*
* @author Misagh Moayyed
* @since 6.2.0
*/
@FunctionalInterface
public interface ConsentableAttributeBuilder extends Ordered {
CasConsentableAttribute build(CasConsentableAttribute attribute);
@Override
default int getOrder() {
return Ordered.LOWEST_PRECEDENCE;
}
/**
* Gets name.
*
* @return the name
*/
default String getName() {
return getClass().getSimpleName();
}
}