Package io.jenkins.plugins.talend
Class TalendConfiguration
- java.lang.Object
-
- hudson.model.Descriptor<GlobalConfiguration>
-
- jenkins.model.GlobalConfiguration
-
- io.jenkins.plugins.talend.TalendConfiguration
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<GlobalConfiguration>
,Saveable
,OnMaster
@Extension public class TalendConfiguration extends GlobalConfiguration
Example of Jenkins global configuration.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
-
Fields inherited from class hudson.model.Descriptor
clazz
-
-
Constructor Summary
Constructors Constructor Description TalendConfiguration()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description FormValidation
doCheckCredentialsid(Item item, String credentialsid)
FormValidation
doCheckRegion(String value)
ListBoxModel
doFillCredentialsidItems(Item item, String credentialsid)
FormValidation
doTestConnection(Item item, String credentialsid, String region)
static TalendConfiguration
get()
String
getCredentialsid()
String
getRegion()
void
setCredentialsid(String value)
void
setRegion(String region)
-
Methods inherited from class jenkins.model.GlobalConfiguration
all, configure, getDescriptor, getGlobalConfigPage
-
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getDisplayName, 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
-
-
-
-
Method Detail
-
get
public static TalendConfiguration get()
- Returns:
- the singleton instance
-
getCredentialsid
public String getCredentialsid()
-
setCredentialsid
@DataBoundSetter public void setCredentialsid(String value)
-
getRegion
public String getRegion()
-
setRegion
@DataBoundSetter public void setRegion(String region)
-
doFillCredentialsidItems
public ListBoxModel doFillCredentialsidItems(@AncestorInPath Item item, @QueryParameter String credentialsid)
-
doCheckCredentialsid
public FormValidation doCheckCredentialsid(@AncestorInPath Item item, @QueryParameter String credentialsid)
-
doCheckRegion
public FormValidation doCheckRegion(@QueryParameter String value)
-
doTestConnection
@POST public FormValidation doTestConnection(@AncestorInPath Item item, @QueryParameter("credentialsid") String credentialsid, @QueryParameter("region") String region) throws IOException, javax.servlet.ServletException
- Throws:
IOException
javax.servlet.ServletException
-
-