Package hudson.plugins.active_directory
Class ActiveDirectoryStatus
java.lang.Object
hudson.model.ManagementLink
hudson.plugins.active_directory.ActiveDirectoryStatus
- All Implemented Interfaces:
ExtensionPoint,Action,ModelObject,org.kohsuke.stapler.StaplerProxy
@Extension
public class ActiveDirectoryStatus
extends ManagementLink
implements org.kohsuke.stapler.StaplerProxy
ManagementLink to provide an Active Directory health status
Intend to report a health status of the Active Directory Domain through
a ManagementLink on Jenkins.
- Check if there is any broken Domain Controller on the farm
- Report the connection time
- Provides the User lookup time
- Since:
- 2.1
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classServerHealth of a SocketInfoNested classes/interfaces inherited from class hudson.model.ManagementLink
ManagementLink.CategoryNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
Fields inherited from class hudson.model.ManagementLink
LIST -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic List<ActiveDirectoryDomain>Get the list of domains configured on the Security RealmstartDomainHealthChecks(String domain) Start the Domain Controller Health checks against a specific domainMethods inherited from class hudson.model.ManagementLink
all, getBadge, getCategoryName, getDescription, getRequiresConfirmation, getRequiresPOST
-
Constructor Details
-
ActiveDirectoryStatus
public ActiveDirectoryStatus()
-
-
Method Details
-
getIconFileName
- Specified by:
getIconFileNamein interfaceAction- Specified by:
getIconFileNamein classManagementLink
-
getDisplayName
- Specified by:
getDisplayNamein interfaceAction- Specified by:
getDisplayNamein interfaceModelObject
-
getUrlName
- Specified by:
getUrlNamein interfaceAction- Specified by:
getUrlNamein classManagementLink
-
getRequiredPermission
- Overrides:
getRequiredPermissionin classManagementLink
-
getDomains
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public static List<ActiveDirectoryDomain> getDomains()Get the list of domains configured on the Security Realm- Returns:
- the Active Directory domains
ActiveDirectoryDomain.
-
startDomainHealthChecks
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public ProgressiveRendering startDomainHealthChecks(String domain) Start the Domain Controller Health checks against a specific domain- Parameters:
domain- to check the health- Returns:
ProgressiveRendering
-
doFillDomainsItems
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public ListBoxModel doFillDomainsItems() -
getTarget
- Specified by:
getTargetin interfaceorg.kohsuke.stapler.StaplerProxy
-
getCategory
- Overrides:
getCategoryin classManagementLink
-