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
  • Constructor Details

    • IframePortlet

      @DataBoundConstructor public IframePortlet(String name, String divStyle)
  • Method Details

    • 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()
    • getUrlError

      @CheckForNull protected static final String getUrlError(String url)
      Checks if the passed string is a valid HTTP or relative URL.
      Returns:
      Localized error message or null if URL is valid.