Class RemoteJobInfo.DescriptorImpl

java.lang.Object
hudson.model.Descriptor<RemoteJobInfo>
io.jenkins.plugins.remote.result.trigger.RemoteJobInfo.DescriptorImpl
All Implemented Interfaces:
Saveable, Loadable, OnMaster
Enclosing class:
RemoteJobInfo

@Extension public static class RemoteJobInfo.DescriptorImpl extends Descriptor<RemoteJobInfo>
  • Constructor Details

    • DescriptorImpl

      public DescriptorImpl()
  • Method Details

    • getBuildResults

      public static String[] getBuildResults()
      get build result types
      Returns:
      all build results
    • doCheckRemoteServer

      @POST @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public FormValidation doCheckRemoteServer(@AncestorInPath Item item, @QueryParameter String remoteServer)
      Validates the remoteServer
      Parameters:
      item - the ancestor item (job) whose configuration page hosts this form, may be null
      remoteServer - Remote Jenkins Server to be validated
      Returns:
      FormValidation object
    • doCheckRemoteJobUrl

      @POST @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public FormValidation doCheckRemoteJobUrl(@AncestorInPath Item item, @QueryParameter String remoteJobUrl)
      Validates the jobName
      Parameters:
      item - the ancestor item (job) whose configuration page hosts this form, may be null
      remoteJobUrl - Remote Job Url
      Returns:
      FormValidation object
    • doCheckUid

      @POST @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public FormValidation doCheckUid(@AncestorInPath Item item, @QueryParameter String uid)
      Validates the uid
      Parameters:
      item - the ancestor item (job) whose configuration page hosts this form, may be null
      uid - Unique Identifier
      Returns:
      FormValidation object
    • doFillRemoteServerItems

      @POST @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public ListBoxModel doFillRemoteServerItems(@AncestorInPath Item item, @QueryParameter String remoteServer)
      fill remoteServer select
      Parameters:
      item - the ancestor item (job) whose configuration page hosts this form, may be null
      remoteServer - currently selected remote server id, kept when the user may not list servers
      Returns:
      fill list model