Class IframePortlet
- java.lang.Object
-
- hudson.plugins.view.dashboard.DashboardPortlet
-
- hudson.plugins.view.dashboard.core.IframePortlet
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<DashboardPortlet>
,ModelObject
public class IframePortlet extends DashboardPortlet
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
IframePortlet.DescriptorImpl
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description IframePortlet(String name, String divStyle)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDivStyle()
String
getEffectiveUrl()
String
getIframeSource()
String
getSandboxValue()
protected static String
getUrlError(String url)
Checks if the passed string is a valid HTTP or relative URL.boolean
isIframeSourceValid()
boolean
isUseSandbox()
void
setIframeSource(String iframeSource)
-
Methods inherited from class hudson.plugins.view.dashboard.DashboardPortlet
all, getComparator, getDashboard, getDescriptor, getDisplayName, getId, getJob, getName, getUrl
-
-
-
-
Method Detail
-
getIframeSource
public String getIframeSource()
-
getEffectiveUrl
public String getEffectiveUrl()
-
getDivStyle
public String getDivStyle()
-
setIframeSource
@DataBoundSetter public void setIframeSource(String iframeSource)
-
isIframeSourceValid
public boolean isIframeSourceValid()
-
isUseSandbox
public boolean isUseSandbox()
-
getSandboxValue
public String getSandboxValue()
-
-