Class UpdateSpringLdapPoolConfiguration
java.lang.Object
com.opensymphony.xwork2.ActionSupport
com.atlassian.crowd.console.action.BaseAction
com.atlassian.crowd.console.action.directory.UpdateSpringLdapPoolConfiguration
- All Implemented Interfaces:
com.opensymphony.xwork2.Action
,com.opensymphony.xwork2.interceptor.ValidationAware
,com.opensymphony.xwork2.LocaleProvider
,com.opensymphony.xwork2.TextProvider
,com.opensymphony.xwork2.Validateable
,Serializable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected boolean
protected long
protected LdapPoolType
protected int
protected int
protected int
protected long
protected long
protected int
protected boolean
protected boolean
protected boolean
protected boolean
Fields inherited from class com.atlassian.crowd.console.action.BaseAction
actionHelper, actionMessageAlertColor, ALERT_BLUE, ALERT_GREEN, ALERT_RED, ALERT_YELLOW, applicationManager, applicationService, clientProperties, clusterService, crowdLicenseManager, directoryManager, initialLoad, logger, propertyManager, rememberMeService, SMALL_AVATAR_SIZE, smallAvatarUrl, tab, tokenAuthenticationManager
Fields inherited from class com.opensymphony.xwork2.ActionSupport
container
Fields inherited from interface com.opensymphony.xwork2.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecute()
long
long
getID()
int
int
int
long
long
int
boolean
boolean
boolean
boolean
boolean
boolean
void
setBlockWhenExhausted
(boolean blockWhenExhausted) void
setDirectoryValidationHelper
(DirectoryValidationHelper directoryValidationHelper) void
setEvictionRunIntervalSeconds
(long evictionRunIntervalSeconds) void
setHelpPathResolver
(CrowdHelpPathResolver crowdHelpPathResolver) void
setID
(long ID) void
setLdapPoolType
(String ldapPoolType) void
setMaxIdlePerKey
(int maxIdlePerKey) void
setMaxTotal
(int maxTotal) void
setMaxTotalPerKey
(int maxTotalPerKey) void
setMaxWait
(long maxWait) void
setMinEvictableTimeSeconds
(long minEvictableTimeSeconds) void
setMinIdlePerKey
(int minIdlePerKey) void
setSpringLdapPoolConfigService
(SpringLdapPoolConfigService springLdapPoolConfigService) void
setTestOnBorrow
(boolean testOnBorrow) void
setTestOnCreate
(boolean testOnCreate) void
setTestOnReturn
(boolean testOnReturn) void
setTestWhileIdle
(boolean testWhileIdle) update()
Methods 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, getRemoteUser, getSession, getSitemeshPageProperties, getSmallAvatarUrl, getTab, getText, getText, getTextProvider, getUserName, getWebFragmentsContextMap, getWebInterfaceManager, getWebItemsForSection, getWebResourceManager, getWebSectionsForLocation, getXsrfToken, getXsrfTokenName, isAtResourceLimit, isAuthenticated, isDataCenterLicense, isEvaluation, isGroupAdmin, isInitialLoad, isLicenseExpired, isLicenseForged, isRestartRequiredToEnableClustering, isSubscription, isSysAdmin, isWithinGracePeriod, renderFreemarkerTemplate, resolveAvatarUri, setActionHelper, setApplicationManager, setApplicationService, setClientProperties, setClusterService, setCrowdApplication, setCrowdLicenseManager, setDirectoryManager, setPropertyManager, setRememberMeService, setTab, setTokenAuthenticationManager, setWebInterfaceManager, setWebResourceManager, setXsrfTokenGenerator
Methods inherited from class com.opensymphony.xwork2.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, validate
-
Field Details
-
ldapPoolType
-
maxTotal
protected int maxTotal -
maxTotalPerKey
protected int maxTotalPerKey -
maxIdlePerKey
protected int maxIdlePerKey -
minIdlePerKey
protected int minIdlePerKey -
blockWhenExhausted
protected boolean blockWhenExhausted -
maxWait
protected long maxWait -
testOnCreate
protected boolean testOnCreate -
testOnBorrow
protected boolean testOnBorrow -
testOnReturn
protected boolean testOnReturn -
testWhileIdle
protected boolean testWhileIdle -
evictionRunIntervalSeconds
protected long evictionRunIntervalSeconds -
minEvictableTimeSeconds
protected long minEvictableTimeSeconds
-
-
Constructor Details
-
UpdateSpringLdapPoolConfiguration
public UpdateSpringLdapPoolConfiguration()
-
-
Method Details
-
execute
- Specified by:
execute
in interfacecom.opensymphony.xwork2.Action
- Overrides:
execute
in classBaseAction
- Throws:
Exception
-
update
-
getDirectory
-
getID
public long getID() -
setID
public void setID(long ID) -
setSpringLdapPoolConfigService
-
getLdapPoolType
-
setLdapPoolType
-
getMaxTotal
public int getMaxTotal() -
setMaxTotal
public void setMaxTotal(int maxTotal) -
getMaxTotalPerKey
public int getMaxTotalPerKey() -
setMaxTotalPerKey
public void setMaxTotalPerKey(int maxTotalPerKey) -
getMaxIdlePerKey
public int getMaxIdlePerKey() -
setMaxIdlePerKey
public void setMaxIdlePerKey(int maxIdlePerKey) -
getMinIdlePerKey
public int getMinIdlePerKey() -
setMinIdlePerKey
public void setMinIdlePerKey(int minIdlePerKey) -
isBlockWhenExhausted
public boolean isBlockWhenExhausted() -
setBlockWhenExhausted
public void setBlockWhenExhausted(boolean blockWhenExhausted) -
getMaxWait
public long getMaxWait() -
setMaxWait
public void setMaxWait(long maxWait) -
isTestOnCreate
public boolean isTestOnCreate() -
setTestOnCreate
public void setTestOnCreate(boolean testOnCreate) -
isTestOnBorrow
public boolean isTestOnBorrow() -
setTestOnBorrow
public void setTestOnBorrow(boolean testOnBorrow) -
isTestOnReturn
public boolean isTestOnReturn() -
setTestOnReturn
public void setTestOnReturn(boolean testOnReturn) -
isTestWhileIdle
public boolean isTestWhileIdle() -
setTestWhileIdle
public void setTestWhileIdle(boolean testWhileIdle) -
getEvictionRunIntervalSeconds
public long getEvictionRunIntervalSeconds() -
setEvictionRunIntervalSeconds
public void setEvictionRunIntervalSeconds(long evictionRunIntervalSeconds) -
getMinEvictableTimeSeconds
public long getMinEvictableTimeSeconds() -
setMinEvictableTimeSeconds
public void setMinEvictableTimeSeconds(long minEvictableTimeSeconds) -
getPoolTypeOptions
-
setHelpPathResolver
-
setDirectoryValidationHelper
-
isUpdateFailedDueToDirectorySynchronizing
public boolean isUpdateFailedDueToDirectorySynchronizing()
-