Package jenkins.plugins.horreum
Class HorreumGlobalConfig
- java.lang.Object
-
- hudson.model.Descriptor<GlobalConfiguration>
-
- jenkins.model.GlobalConfiguration
-
- jenkins.plugins.horreum.HorreumGlobalConfig
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<GlobalConfiguration>
,Saveable
,OnMaster
@Extension public class HorreumGlobalConfig 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 HorreumGlobalConfig()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json)
static HorreumGlobalConfig
get()
KeycloakAuthentication
getAuthentication()
String
getBaseUrl()
String
getClientId()
protected XmlFile
getConfigFile()
static KeycloakAuthentication
getKeycloakAuthentication()
String
getKeycloakBaseUrl()
String
getKeycloakRealm()
String
getKeyName()
String
getRetries()
List<Long>
retries()
void
setBaseUrl(String baseUrl)
void
setClientId(String clientId)
void
setKeycloakBaseUrl(String baseUrl)
void
setKeycloakRealm(String realm)
void
setRetries(String retries)
static void
xStreamCompatibility()
-
Methods inherited from class jenkins.model.GlobalConfiguration
all, getDescriptor, getGlobalConfigPage
-
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, 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
-
xStreamCompatibility
@Initializer(before=PLUGINS_STARTED) public static void xStreamCompatibility()
-
getConfigFile
protected XmlFile getConfigFile()
- Overrides:
getConfigFile
in classDescriptor<GlobalConfiguration>
-
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json) throws Descriptor.FormException
- Overrides:
configure
in classGlobalConfiguration
- Throws:
Descriptor.FormException
-
get
public static HorreumGlobalConfig get()
-
getAuthentication
public KeycloakAuthentication getAuthentication()
-
getBaseUrl
public String getBaseUrl()
-
setBaseUrl
public void setBaseUrl(String baseUrl)
-
getKeyName
public String getKeyName()
-
setKeycloakBaseUrl
public void setKeycloakBaseUrl(String baseUrl)
-
getKeycloakBaseUrl
public String getKeycloakBaseUrl()
-
getKeycloakRealm
public String getKeycloakRealm()
-
setKeycloakRealm
public void setKeycloakRealm(String realm)
-
getClientId
public String getClientId()
-
setClientId
public void setClientId(String clientId)
-
getKeycloakAuthentication
public static KeycloakAuthentication getKeycloakAuthentication()
-
getRetries
public String getRetries()
-
setRetries
public void setRetries(String retries)
-
-