Class IframePortlet
java.lang.Object
hudson.plugins.view.dashboard.DashboardPortlet
hudson.plugins.view.dashboard.core.IframePortlet
- All Implemented Interfaces:
ExtensionPoint
,Describable<DashboardPortlet>
,ModelObject
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static final String
getUrlError
(String url) Checks if the passed string is a valid HTTP or relative URL.boolean
boolean
void
setIframeSource
(String iframeSource) Methods inherited from class hudson.plugins.view.dashboard.DashboardPortlet
all, getComparator, getDashboard, getDescriptor, getDisplayName, getId, getJob, getName, getUrl
-
Constructor Details
-
IframePortlet
-
-
Method Details
-
getIframeSource
-
getEffectiveUrl
-
getDivStyle
-
setIframeSource
-
isIframeSourceValid
public boolean isIframeSourceValid() -
isUseSandbox
public boolean isUseSandbox() -
getSandboxValue
-
getUrlError
Checks if the passed string is a valid HTTP or relative URL.- Returns:
- Localized error message or null if URL is valid.
-