Class WebAppManifest.RelatedApplication

java.lang.Object
org.omnifaces.resourcehandler.WebAppManifest.RelatedApplication
Enclosing class:
WebAppManifest

protected static final class WebAppManifest.RelatedApplication extends Object
  • Method Details

    • of

      Creates a related application of given platform and URL.
      Parameters:
      platform - The platform on which the application can be found.
      url - The URL at which the application can be found.
      Returns:
      A related application of given platform and URL.
      Throws:
      NullPointerException - When platform or url is null.
    • of

      Creates a related application of given platform and URL and ID.
      Parameters:
      platform - The platform on which the application can be found.
      url - The URL at which the application can be found.
      id - The ID used to represent the application on the specified platform.
      Returns:
      A related application of given platform and URL and ID.
      Throws:
      NullPointerException - When platform or url is null.
    • getPlatform

      public WebAppManifest.Platform getPlatform()
      Returns the platform on which the application can be found.
      Returns:
      The platform on which the application can be found.
    • getUrl

      public String getUrl()
      Returns the URL at which the application can be found.
      Returns:
      The URL at which the application can be found.
    • getId

      public String getId()
      Returns the ID used to represent the application on the specified platform.
      Returns:
      The ID used to represent the application on the specified platform.
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object