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 Details

    • webAppContexts

      private final Collection<org.eclipse.jetty.ee10.webapp.WebAppContext> webAppContexts
      The field for the webAppContexts record component.
    • mimeMappings

      private final Map<String,String> mimeMappings
      The field for the mimeMappings record component.
    • contentViewers

      private final Collection<ContentViewer> contentViewers
      The field for the contentViewers record component.
    • componentUiExtensionWebContexts

      private final Collection<org.eclipse.jetty.ee10.webapp.WebAppContext> componentUiExtensionWebContexts
      The field for the componentUiExtensionWebContexts record component.
    • contentViewerWebContexts

      private final Collection<org.eclipse.jetty.ee10.webapp.WebAppContext> contentViewerWebContexts
      The field for the contentViewerWebContexts record component.
    • componentUiExtensionsByType

      private final Map<String,List<UiExtension>> componentUiExtensionsByType
      The field for the componentUiExtensionsByType record component.
    • contentViewerServletContexts

      private final Map<String,jakarta.servlet.ServletContext> contentViewerServletContexts
      The field for the contentViewerServletContexts record component.
    • webAppContextsByBundleCoordinate

      private final Map<BundleCoordinate,List<org.eclipse.jetty.ee10.webapp.WebAppContext>> webAppContextsByBundleCoordinate
      The field for the webAppContextsByBundleCoordinate record 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 a ExtensionUiInfo record class.
      Parameters:
      webAppContexts - the value for the webAppContexts record component
      mimeMappings - the value for the mimeMappings record component
      contentViewers - the value for the contentViewers record component
      componentUiExtensionWebContexts - the value for the componentUiExtensionWebContexts record component
      contentViewerWebContexts - the value for the contentViewerWebContexts record component
      componentUiExtensionsByType - the value for the componentUiExtensionsByType record component
      contentViewerServletContexts - the value for the contentViewerServletContexts record component
      webAppContextsByBundleCoordinate - the value for the webAppContextsByBundleCoordinate record component
  • Method Details

    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • webAppContexts

      public Collection<org.eclipse.jetty.ee10.webapp.WebAppContext> webAppContexts()
      Returns the value of the webAppContexts record component.
      Returns:
      the value of the webAppContexts record component
    • mimeMappings

      public Map<String,String> mimeMappings()
      Returns the value of the mimeMappings record component.
      Returns:
      the value of the mimeMappings record component
    • contentViewers

      public Collection<ContentViewer> contentViewers()
      Returns the value of the contentViewers record component.
      Returns:
      the value of the contentViewers record component
    • componentUiExtensionWebContexts

      public Collection<org.eclipse.jetty.ee10.webapp.WebAppContext> componentUiExtensionWebContexts()
      Returns the value of the componentUiExtensionWebContexts record component.
      Returns:
      the value of the componentUiExtensionWebContexts record component
    • contentViewerWebContexts

      public Collection<org.eclipse.jetty.ee10.webapp.WebAppContext> contentViewerWebContexts()
      Returns the value of the contentViewerWebContexts record component.
      Returns:
      the value of the contentViewerWebContexts record component
    • componentUiExtensionsByType

      public Map<String,List<UiExtension>> componentUiExtensionsByType()
      Returns the value of the componentUiExtensionsByType record component.
      Returns:
      the value of the componentUiExtensionsByType record component
    • contentViewerServletContexts

      public Map<String,jakarta.servlet.ServletContext> contentViewerServletContexts()
      Returns the value of the contentViewerServletContexts record component.
      Returns:
      the value of the contentViewerServletContexts record component
    • webAppContextsByBundleCoordinate

      public Map<BundleCoordinate,List<org.eclipse.jetty.ee10.webapp.WebAppContext>> webAppContextsByBundleCoordinate()
      Returns the value of the webAppContextsByBundleCoordinate record component.
      Returns:
      the value of the webAppContextsByBundleCoordinate record component