Package jenkins.model

Class Jenkins.EnforceSlaveAgentPortAdministrativeMonitor

java.lang.Object
hudson.model.AbstractModelObject
hudson.model.AdministrativeMonitor
jenkins.model.Jenkins.EnforceSlaveAgentPortAdministrativeMonitor
All Implemented Interfaces:
ExtensionPoint, ModelObject, SearchableModelObject, SearchItem, org.kohsuke.stapler.StaplerProxy
Enclosing class:
Jenkins

@Extension @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public static class Jenkins.EnforceSlaveAgentPortAdministrativeMonitor extends AdministrativeMonitor
  • Constructor Details

    • EnforceSlaveAgentPortAdministrativeMonitor

      public EnforceSlaveAgentPortAdministrativeMonitor()
  • Method Details

    • getDisplayName

      public String getDisplayName()
      Specified by:
      getDisplayName in interface ModelObject
      Overrides:
      getDisplayName in class AdministrativeMonitor
    • getSystemPropertyName

      public String getSystemPropertyName()
    • getExpectedPort

      public int getExpectedPort()
    • doAct

      public void doAct(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp) throws IOException
      Throws:
      IOException
    • isActivated

      public boolean isActivated()
      Description copied from class: AdministrativeMonitor
      Returns true if this monitor is activated and wants to produce a warning message.

      This method is called from the HTML rendering thread, so it should run efficiently.

      Specified by:
      isActivated in class AdministrativeMonitor