Package org.apache.nifi.web.server
Record Class JettyServer.ExtensionUiInfo
java.lang.Object
java.lang.Record
org.apache.nifi.web.server.JettyServer.ExtensionUiInfo
- Enclosing class:
JettyServer
private static record JettyServer.ExtensionUiInfo(Collection<org.eclipse.jetty.ee10.webapp.WebAppContext> webAppContexts, Map<String,String> mimeMappings, Collection<ContentViewer> contentViewers, Collection<org.eclipse.jetty.ee10.webapp.WebAppContext> componentUiExtensionWebContexts, Collection<org.eclipse.jetty.ee10.webapp.WebAppContext> contentViewerWebContexts, Map<String,List<UiExtension>> componentUiExtensionsByType, Map<String,jakarta.servlet.ServletContext> contentViewerServletContexts, Map<BundleCoordinate,List<org.eclipse.jetty.ee10.webapp.WebAppContext>> webAppContextsByBundleCoordinate)
extends Record
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Map<String, List<UiExtension>> The field for thecomponentUiExtensionsByTyperecord component.private final Collection<org.eclipse.jetty.ee10.webapp.WebAppContext> The field for thecomponentUiExtensionWebContextsrecord component.private final Collection<ContentViewer> The field for thecontentViewersrecord component.The field for thecontentViewerServletContextsrecord component.private final Collection<org.eclipse.jetty.ee10.webapp.WebAppContext> The field for thecontentViewerWebContextsrecord component.The field for themimeMappingsrecord component.private final Collection<org.eclipse.jetty.ee10.webapp.WebAppContext> The field for thewebAppContextsrecord component.private final Map<BundleCoordinate, List<org.eclipse.jetty.ee10.webapp.WebAppContext>> The field for thewebAppContextsByBundleCoordinaterecord component. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateExtensionUiInfo(Collection<org.eclipse.jetty.ee10.webapp.WebAppContext> webAppContexts, Map<String, String> mimeMappings, Collection<ContentViewer> contentViewers, Collection<org.eclipse.jetty.ee10.webapp.WebAppContext> componentUiExtensionWebContexts, Collection<org.eclipse.jetty.ee10.webapp.WebAppContext> contentViewerWebContexts, Map<String, List<UiExtension>> componentUiExtensionsByType, Map<String, jakarta.servlet.ServletContext> contentViewerServletContexts, Map<BundleCoordinate, List<org.eclipse.jetty.ee10.webapp.WebAppContext>> webAppContextsByBundleCoordinate) Creates an instance of aExtensionUiInforecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecomponentUiExtensionsByTyperecord component.Collection<org.eclipse.jetty.ee10.webapp.WebAppContext> Returns the value of thecomponentUiExtensionWebContextsrecord component.Returns the value of thecontentViewersrecord component.Returns the value of thecontentViewerServletContextsrecord component.Collection<org.eclipse.jetty.ee10.webapp.WebAppContext> Returns the value of thecontentViewerWebContextsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of themimeMappingsrecord component.final StringtoString()Returns a string representation of this record class.Collection<org.eclipse.jetty.ee10.webapp.WebAppContext> Returns the value of thewebAppContextsrecord component.Map<BundleCoordinate, List<org.eclipse.jetty.ee10.webapp.WebAppContext>> Returns the value of thewebAppContextsByBundleCoordinaterecord component.
-
Field Details
-
webAppContexts
The field for thewebAppContextsrecord component. -
mimeMappings
The field for themimeMappingsrecord component. -
contentViewers
The field for thecontentViewersrecord component. -
componentUiExtensionWebContexts
private final Collection<org.eclipse.jetty.ee10.webapp.WebAppContext> componentUiExtensionWebContextsThe field for thecomponentUiExtensionWebContextsrecord component. -
contentViewerWebContexts
The field for thecontentViewerWebContextsrecord component. -
componentUiExtensionsByType
The field for thecomponentUiExtensionsByTyperecord component. -
contentViewerServletContexts
The field for thecontentViewerServletContextsrecord component. -
webAppContextsByBundleCoordinate
private final Map<BundleCoordinate,List<org.eclipse.jetty.ee10.webapp.WebAppContext>> webAppContextsByBundleCoordinateThe field for thewebAppContextsByBundleCoordinaterecord component.
-
-
Constructor Details
-
ExtensionUiInfo
private ExtensionUiInfo(Collection<org.eclipse.jetty.ee10.webapp.WebAppContext> webAppContexts, Map<String, String> mimeMappings, Collection<ContentViewer> contentViewers, Collection<org.eclipse.jetty.ee10.webapp.WebAppContext> componentUiExtensionWebContexts, Collection<org.eclipse.jetty.ee10.webapp.WebAppContext> contentViewerWebContexts, Map<String, List<UiExtension>> componentUiExtensionsByType, Map<String, jakarta.servlet.ServletContext> contentViewerServletContexts, Map<BundleCoordinate, List<org.eclipse.jetty.ee10.webapp.WebAppContext>> webAppContextsByBundleCoordinate) Creates an instance of aExtensionUiInforecord class.- Parameters:
webAppContexts- the value for thewebAppContextsrecord componentmimeMappings- the value for themimeMappingsrecord componentcontentViewers- the value for thecontentViewersrecord componentcomponentUiExtensionWebContexts- the value for thecomponentUiExtensionWebContextsrecord componentcontentViewerWebContexts- the value for thecontentViewerWebContextsrecord componentcomponentUiExtensionsByType- the value for thecomponentUiExtensionsByTyperecord componentcontentViewerServletContexts- the value for thecontentViewerServletContextsrecord componentwebAppContextsByBundleCoordinate- the value for thewebAppContextsByBundleCoordinaterecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
webAppContexts
Returns the value of thewebAppContextsrecord component.- Returns:
- the value of the
webAppContextsrecord component
-
mimeMappings
Returns the value of themimeMappingsrecord component.- Returns:
- the value of the
mimeMappingsrecord component
-
contentViewers
Returns the value of thecontentViewersrecord component.- Returns:
- the value of the
contentViewersrecord component
-
componentUiExtensionWebContexts
Returns the value of thecomponentUiExtensionWebContextsrecord component.- Returns:
- the value of the
componentUiExtensionWebContextsrecord component
-
contentViewerWebContexts
Returns the value of thecontentViewerWebContextsrecord component.- Returns:
- the value of the
contentViewerWebContextsrecord component
-
componentUiExtensionsByType
Returns the value of thecomponentUiExtensionsByTyperecord component.- Returns:
- the value of the
componentUiExtensionsByTyperecord component
-
contentViewerServletContexts
Returns the value of thecontentViewerServletContextsrecord component.- Returns:
- the value of the
contentViewerServletContextsrecord component
-
webAppContextsByBundleCoordinate
public Map<BundleCoordinate,List<org.eclipse.jetty.ee10.webapp.WebAppContext>> webAppContextsByBundleCoordinate()Returns the value of thewebAppContextsByBundleCoordinaterecord component.- Returns:
- the value of the
webAppContextsByBundleCoordinaterecord component
-