Class RemoteJobInfo.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<RemoteJobInfo>
io.jenkins.plugins.remote.result.trigger.RemoteJobInfo.DescriptorImpl
- Enclosing class:
- RemoteJobInfo
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
-
Field Summary
Fields inherited from class hudson.model.Descriptor
clazz
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoCheckRemoteJobUrl
(String remoteJobUrl) Validates the jobNamedoCheckRemoteServer
(String remoteServer) Validates the remoteServerdoCheckUid
(String uid) Validates the uiddoFillRemoteServerItems
(String remoteJenkinsServer) fill remoteServer selectstatic String[]
get build result typesMethods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getDisplayName, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
DescriptorImpl
public DescriptorImpl()
-
-
Method Details
-
getBuildResults
get build result types- Returns:
- all build results
-
doCheckRemoteServer
@POST @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public FormValidation doCheckRemoteServer(@QueryParameter String remoteServer) Validates the remoteServer- Parameters:
remoteServer
- Remote Jenkins Server to be validated- Returns:
- FormValidation object
-
doCheckRemoteJobUrl
@POST @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public FormValidation doCheckRemoteJobUrl(@QueryParameter String remoteJobUrl) Validates the jobName- Parameters:
remoteJobUrl
- Remote Job Url- Returns:
- FormValidation object
-
doCheckUid
@POST @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public FormValidation doCheckUid(@QueryParameter String uid) Validates the uid- Parameters:
uid
- Unique Identifier- Returns:
- FormValidation object
-
doFillRemoteServerItems
@POST @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public ListBoxModel doFillRemoteServerItems(@QueryParameter String remoteJenkinsServer) fill remoteServer select- Returns:
- fill list model
-