Class AbstractViewCacheableDirectory
java.lang.Object
org.apache.struts2.ActionSupport
com.atlassian.crowd.console.action.BaseAction
com.atlassian.crowd.console.action.directory.AbstractViewDirectory
com.atlassian.crowd.console.action.directory.AbstractViewDetailedDirectory
com.atlassian.crowd.console.action.directory.AbstractViewCacheableDirectory
- All Implemented Interfaces:
Serializable,org.apache.struts2.action.Action,org.apache.struts2.interceptor.ValidationAware,org.apache.struts2.locale.LocaleProvider,org.apache.struts2.text.TextProvider,org.apache.struts2.Validateable
- Direct Known Subclasses:
ViewAzureAdDirectory,ViewConnector,ViewRemoteCrowd
- See Also:
-
Field Summary
FieldsFields inherited from class com.atlassian.crowd.console.action.directory.AbstractViewDetailedDirectory
active, description, nameFields inherited from class com.atlassian.crowd.console.action.directory.AbstractViewDirectory
directoryInstanceLoaderFields inherited from class com.atlassian.crowd.console.action.BaseAction
actionHelper, actionMessageAlertColor, ALERT_BLUE, ALERT_GREEN, ALERT_RED, ALERT_YELLOW, applicationManager, applicationService, BASIC_AUTH_PLUGIN_KEY, BASIC_AUTH_SYS_PROP_DISABLED, clientProperties, clusterService, crowdLicenseManager, directoryManager, initialLoad, logger, pluginPropertyManager, propertyManager, rememberMeService, SMALL_AVATAR_SIZE, smallAvatarUrl, tab, tokenAuthenticationManagerFields inherited from class org.apache.struts2.ActionSupport
containerFields inherited from interface org.apache.struts2.action.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecute()protected Optional<DirectorySynchronisationRoundInformation> booleanbooleanvoidsetCacheEnabled(boolean cacheEnabled) Methods inherited from class com.atlassian.crowd.console.action.directory.AbstractViewDetailedDirectory
getActive, getDescription, getName, setActive, setDescription, setNameMethods inherited from class com.atlassian.crowd.console.action.directory.AbstractViewDirectory
getDirectory, getDirectoryImplementationDescriptiveName, getID, getSecureModeLabel, setDirectoryInstanceLoader, setIDMethods inherited from class com.atlassian.crowd.console.action.BaseAction
addActionError, addActionMessage, applyFieldError, applyFieldErrors, applyValidationErrors, authorisedToAccessCrowdAdminConsole, authorisedToAccessCrowdConsole, bindInformationAboutLicense, containsActionMessages, containsErrorMessages, directory, findAvatarUrl, getActionMessageAlertColor, getBootstrapManager, getCrowdApplication, getCurrentLicenseResourceTotal, getDisplayableLink, getHttpRequest, getImageLocation, getImageTitle, getLabel, getLicense, getLink, getLocaleProvider, getPasswordComplexityMessage, getPrincipalName, getRemoteUser, getSession, getSitemeshPageProperties, getSmallAvatarUrl, getTab, getText, getText, getTextProvider, getUserName, getWebFragmentsContextMap, getWebInterfaceManager, getWebItemsForSection, getWebResourceManager, getWebSectionsForLocation, getXsrfToken, getXsrfTokenName, isAtResourceLimit, isAuthenticated, isBasicAuthEnabled, isDataCenterLicense, isEvaluation, isGroupAdmin, isInitialLoad, isLicenseExpired, isLicenseForged, isRestartRequiredToEnableClustering, isSubscription, isSysAdmin, isWithinGracePeriod, renderFreemarkerTemplate, resolveAvatarUri, setActionHelper, setApplicationManager, setApplicationService, setClientProperties, setClusterService, setCrowdApplication, setCrowdLicenseManager, setDirectoryManager, setPluginPropertyManager, setPropertyManager, setRememberMeService, setTab, setTokenAuthenticationManager, setWebInterfaceManager, setWebResourceManager, setXsrfTokenGeneratorMethods inherited from class org.apache.struts2.ActionSupport
addActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, getActionErrors, getActionMessages, getContainer, getFieldErrors, getFormatted, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, input, isValidLocale, isValidLocaleString, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors, toLocale, validate
-
Field Details
-
cacheEnabled
protected boolean cacheEnabled -
syncInfo
-
-
Constructor Details
-
AbstractViewCacheableDirectory
public AbstractViewCacheableDirectory()
-
-
Method Details
-
execute
- Specified by:
executein interfaceorg.apache.struts2.action.Action- Overrides:
executein classAbstractViewDetailedDirectory- Throws:
Exception
-
isCacheEnabled
public boolean isCacheEnabled() -
setCacheEnabled
public void setCacheEnabled(boolean cacheEnabled) -
isCurrentlySynchronising
public boolean isCurrentlySynchronising() -
getSynchronisationStartTime
-
getSynchronisationDuration
-
getSynchronisationStatus
-
getNodeId
-
getNodeName
-
getFullSyncError
-
getIncrementalSyncError
-
getRoundToDisplay
-