GH-37 - Hide internal aggregates and components by default in module canvas.
We now only include exposed types in the module canvas rendered. This can be overridden by calling CanvasOptions.revealInternals().
This commit is contained in:
@@ -46,6 +46,16 @@ public class SpringBean {
|
||||
return type.getFullName();
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns whether the bean is considered to be an API bean, which means it is either a public type exposed in an API
|
||||
* package of the module or implements a public API interface.
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
public boolean isApiBean() {
|
||||
return module.isExposed(type) || !getInterfacesWithinModule().isEmpty();
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns all interfaces implemented by the bean that are part of the same module.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user