protected static final class WebAppManifest.RelatedApplication extends Object
WebAppManifest.getRelatedApplications()
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object) |
String |
getId() |
WebAppManifest.Platform |
getPlatform() |
String |
getUrl() |
int |
hashCode() |
static WebAppManifest.RelatedApplication |
of(WebAppManifest.Platform platform,
String url)
Creates a related application of given platform and URL.
|
static WebAppManifest.RelatedApplication |
of(WebAppManifest.Platform platform,
String url,
String id)
Creates a related application of given platform and URL and ID.
|
public static WebAppManifest.RelatedApplication of(WebAppManifest.Platform platform, String url)
platform
- The platform on which the application can be found.url
- The URL at which the application can be found.NullPointerException
- When platform or url is null.public static WebAppManifest.RelatedApplication of(WebAppManifest.Platform platform, String url, String id)
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.NullPointerException
- When platform or url is null.public WebAppManifest.Platform getPlatform()
public String getUrl()
public String getId()
Copyright © 2012–2020 OmniFaces. All rights reserved.