Package com.fortinet
Class UserConfiguration
- java.lang.Object
-
- hudson.model.Descriptor<GlobalConfiguration>
-
- jenkins.model.GlobalConfiguration
-
- com.fortinet.UserConfiguration
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<GlobalConfiguration>
,Saveable
,OnMaster
@Extension public class UserConfiguration extends GlobalConfiguration
-
-
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 UserConfiguration()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description FormValidation
doCheckCredentialTokenSecret(Secret secret)
ListBoxModel
doFillWebHostAddressItems()
FormValidation
doTestConnection(String webHostAddress, Secret credentialTokenSecret, String manualHostAddress, boolean enableManualHostCheck)
static UserConfiguration
get()
return the singleton instanceSecret
getCredentialTokenSecret()
String
getCredentialTokenString()
boolean
getEnableManualHostCheck()
String
getManualHostAddress()
String
getManualHostAddressByCheck()
String
getWebHostAddress()
void
setCredentialTokenSecret(Secret credentialTokenSecret)
void
setEnableManualHostCheck(boolean check)
void
setManualHostAddress(String hostAddress)
void
setWebHostAddress(String webHostAddress)
-
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, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
-
-
-
Method Detail
-
get
public static UserConfiguration get()
return the singleton instance
-
getWebHostAddress
public String getWebHostAddress()
-
getCredentialTokenString
public String getCredentialTokenString()
-
getCredentialTokenSecret
public Secret getCredentialTokenSecret()
-
getManualHostAddressByCheck
public String getManualHostAddressByCheck()
-
getManualHostAddress
public String getManualHostAddress()
-
getEnableManualHostCheck
public boolean getEnableManualHostCheck()
-
setCredentialTokenSecret
@DataBoundSetter public void setCredentialTokenSecret(Secret credentialTokenSecret)
-
setEnableManualHostCheck
@DataBoundSetter public void setEnableManualHostCheck(boolean check)
-
setManualHostAddress
@DataBoundSetter public void setManualHostAddress(String hostAddress)
-
setWebHostAddress
@DataBoundSetter public void setWebHostAddress(String webHostAddress)
-
doCheckCredentialTokenSecret
public FormValidation doCheckCredentialTokenSecret(@QueryParameter Secret secret)
-
doFillWebHostAddressItems
public ListBoxModel doFillWebHostAddressItems()
-
doTestConnection
@POST public FormValidation doTestConnection(@QueryParameter("webHostAddress") String webHostAddress, @QueryParameter("credentialTokenSecret") Secret credentialTokenSecret, @QueryParameter("manualHostAddress") String manualHostAddress, @QueryParameter("enableManualHostCheck") boolean enableManualHostCheck)
-
-