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

public class UpdateSpringLdapPoolConfiguration extends BaseAction
See Also:
  • Field Details

    • ldapPoolType

      protected LdapPoolType 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

      public String execute() throws Exception
      Specified by:
      execute in interface com.opensymphony.xwork2.Action
      Overrides:
      execute in class BaseAction
      Throws:
      Exception
    • update

      public String update()
    • getDirectory

      public Directory getDirectory()
    • getID

      public long getID()
    • setID

      public void setID(long ID)
    • setSpringLdapPoolConfigService

      public void setSpringLdapPoolConfigService(SpringLdapPoolConfigService springLdapPoolConfigService)
    • getLdapPoolType

      public String getLdapPoolType()
    • setLdapPoolType

      public void setLdapPoolType(String ldapPoolType)
    • 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

      public List<Map<String,Object>> getPoolTypeOptions()
    • setHelpPathResolver

      public void setHelpPathResolver(CrowdHelpPathResolver crowdHelpPathResolver)
    • setDirectoryValidationHelper

      public void setDirectoryValidationHelper(DirectoryValidationHelper directoryValidationHelper)
    • isUpdateFailedDueToDirectorySynchronizing

      public boolean isUpdateFailedDueToDirectorySynchronizing()