public static final class WidgetFactory.WidgetFactoryContext
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
WidgetFactory.WidgetFactoryContext |
withCreationContext(CreationContext creationContext)
Sets the
CreationContext to be used. |
WidgetFactory.WidgetFactoryContext |
withWidgetFilter(WidgetFactory.WidgetFilter widgetFilter)
Sets the
WidgetFilter to be used. |
public WidgetFactory.WidgetFactoryContext withCreationContext(CreationContext creationContext)
CreationContext
to be used. If one exists, it should be passed
in. If it isn't, a new one will be automatically created.creationContext
- creation contetpublic WidgetFactory.WidgetFactoryContext withWidgetFilter(WidgetFactory.WidgetFilter widgetFilter)
WidgetFilter
to be used. This can remain unset if no filtering
is needed.widgetFilter
- widget filter