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(Item item, String remoteJobUrl) Validates the jobNamedoCheckRemoteServer(Item item, String remoteServer) Validates the remoteServerdoCheckUid(Item item, String uid) Validates the uiddoFillRemoteServerItems(Item item, String remoteServer) fill remoteServer selectstatic String[]get build result typesMethods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, configure, doHelp, 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, getStaticHelpUrl, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, 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(@AncestorInPath Item item, @QueryParameter String remoteServer) Validates the remoteServer- Parameters:
item- the ancestor item (job) whose configuration page hosts this form, may be nullremoteServer- 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 nullremoteJobUrl- 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 nulluid- 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 nullremoteServer- currently selected remote server id, kept when the user may not list servers- Returns:
- fill list model
-