public Set < String > roles ( ) { return frameworkInfo . hasRole ( ) && ! "*" . equals ( frameworkInfo . getRole ( ) ) ? Collections . singleton ( frameworkInfo . getRole ( ) ) : Collections . emptySet ( ) ; }
Gets the roles associated with the framework .