java.lang.Object
org.omnifaces.resourcehandler.WebAppManifest.RelatedApplication
- Enclosing class:
- WebAppManifest
To be used in
WebAppManifest.getRelatedApplications()-
Method Summary
Modifier and TypeMethodDescriptionbooleangetId()Returns the ID used to represent the application on the specified platform.Returns the platform on which the application can be found.getUrl()Returns the URL at which the application can be found.inthashCode()of(WebAppManifest.Platform platform, String url) Creates a related application of given platform and URL.of(WebAppManifest.Platform platform, String url, String id) Creates a related application of given platform and URL and ID.
-
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
public static WebAppManifest.RelatedApplication of(WebAppManifest.Platform platform, String url, String id) 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
Returns the platform on which the application can be found.- Returns:
- The platform on which the application can be found.
-
getUrl
Returns the URL at which the application can be found.- Returns:
- The URL at which the application can be found.
-
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
-
hashCode
public int hashCode()
-