Agentflow
V3.1

pe.pase
Class SerRuntimeEnv

java.lang.Object
  extended by pe.pase.SerRuntimeEnv
All Implemented Interfaces:
java.io.Serializable

public class SerRuntimeEnv
extends java.lang.Object
implements java.io.Serializable

SerRuntimeEnv: Server Runtime Environment, store runtime properties for server.

Version:
2.1
See Also:
Serialized Form

Field Summary
 boolean forceCompleteTaskMode
           
static java.lang.String SametimeIP
           
 
Constructor Summary
SerRuntimeEnv()
          Create the server rumtime environment.
 
Method Summary
 int getCheckServiceSleepTime()
          Get the sleep time of check services.
 int getCSTaskAuditingExpireTime()
          Get the Counter Sign Expire Time.
 int getDispatchThreadSize()
          Get the task cache size.
 boolean getForceCompleteTaskMode()
           
 java.lang.String getMailEncoding()
           
 java.lang.String getMailServer()
          Get the host of mail server.
 int getMailServerPort()
           
 int getMaxClients()
          Get the max number of client can exist simultaneously.
 java.lang.String getReportServerIP()
          Get Report Server IP
 int getReportServerPort()
          Get Report Server Port
 int getReScheduleInterval()
           
 int getRMIPort()
          Get the RMI server port number.
 java.lang.String getServerHost()
          Get the server's host.
 java.lang.String getServerSuspendTime()
          impl. remark: It's "ServerSuspendTime" used by FinalCountDownDialog
 boolean getSetFrontUser()
           
 java.lang.String getSMTPid()
           
 java.lang.String getSMTPpassword()
           
 int getSockPort()
          Get the socket port number return socket port number
 int getSoTimeOut()
          Get the time out value.
 int getTaskCacheSize()
          Get the task cache size.
 java.lang.String getTomcatPath()
           
 java.lang.String getUploadPath()
           
 java.lang.String getWebAgendaURL()
           
 boolean isAuthForceAFDBAuthForAdmin()
           
 boolean isAutoTruncate()
           
 boolean isCancelCache()
           
 boolean isLDAPAuthEnabled()
           
 boolean isLogEnabled()
          Whether the task is long enabled.
 boolean isMailNeedID()
           
 boolean isMailSSL()
           
 boolean isNewAttachFileDirectoryAccess()
           
 boolean isStartTomcat()
           
 boolean isUseAgentflowAuthAfterLDAPFailed()
           
 void setAuthForceAFDBAuthForAdmin(boolean authForceAFDBAuthForAdmin)
           
 void setAutoTruncate(boolean b)
           
 void setBLog(boolean bLog)
           
 void setCancelCache(boolean cancelCache)
           
 void setCheckServiceSleepTime(int checkServiceSleepTime)
           
 void setCsTaskAuditingExpire(int csTaskAuditingExpire)
           
 void setDispatchThreadSize(int dispatchThreadSize)
           
 void setForceCompleteTaskMode(boolean forceCompleteTaskMode)
           
 void setLDAPAuthEnabled(boolean LDAPAuthEnabled)
           
 void setMailEncoding(java.lang.String mailEncoding)
           
 void setMailNeedID(boolean mailNeedID)
           
 void setMailServer(java.lang.String mailServerHost)
           
 void setMailServerPort(int mailServerPort)
           
 void setMailSSL(boolean mailSSL)
           
 void setMaxClients(int n)
          Set the max number of client can exist simultaneously.
 void setNewAttachFileDirectoryAccess(boolean newAttachFileDirectoryAccess)
           
 void setReportServerIP(java.lang.String reportServerIP)
           
 void setReportServerPort(int reportServerPort)
           
 void setReScheduleInterval(int reScheduleInterval)
           
 void setRMIPort(int port)
           
 void setServerHost(java.lang.String serverHost)
           
 void setServerSuspendTime(java.lang.String serverSuspendTime)
           
 void setSetFrontUser(boolean setFrontUser)
           
 void setSMTPid(java.lang.String smtpId)
           
 void setSMTPpassword(java.lang.String smtpPassword)
           
 void setSockPort(int port)
          Set the socket port number
 void setSoTimeOut(int soTimeOut)
           
 void setStartTomcat(boolean startTomcat)
           
 void setTaskCacheSize(int taskCacheSize)
           
 void setTomcatPath(java.lang.String tomcatPath)
           
 void setUploadPath(java.lang.String uploadPath)
           
 void setUseAgentflowDBAfterLDAPAuthFailed(boolean useAgentflowDBAfterLDAPAuthFailed)
           
 void setWebAgendaURL(java.lang.String webAgendaURL)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

forceCompleteTaskMode

public transient boolean forceCompleteTaskMode

SametimeIP

public static java.lang.String SametimeIP
Constructor Detail

SerRuntimeEnv

public SerRuntimeEnv()
Create the server rumtime environment. Restores properties from server.properties file.

Parameters:
name - the server Name.
Since:
version 1.0.0
Method Detail

getCheckServiceSleepTime

public int getCheckServiceSleepTime()
Get the sleep time of check services.

Returns:
the sleep time
Since:
version 1.3

getCSTaskAuditingExpireTime

public int getCSTaskAuditingExpireTime()
Get the Counter Sign Expire Time.

Returns:
the sleep time
Since:
version 1.2p6

getDispatchThreadSize

public int getDispatchThreadSize()
Get the task cache size.

Returns:
the task cache size.
Since:
version 1.0.0

getForceCompleteTaskMode

public boolean getForceCompleteTaskMode()

getMailEncoding

public java.lang.String getMailEncoding()

getMailServer

public java.lang.String getMailServer()
Get the host of mail server.

Returns:
the host of mail server
Since:
version 1.0.0

getMailServerPort

public int getMailServerPort()

getMaxClients

public int getMaxClients()
Get the max number of client can exist simultaneously.

Returns:
the max number of client can exist simultaneously.
Since:
version 1.0.0

getReportServerIP

public java.lang.String getReportServerIP()
Get Report Server IP

Since:
2.2

getReportServerPort

public int getReportServerPort()
Get Report Server Port

Since:
2.2

getReScheduleInterval

public int getReScheduleInterval()
Returns:
Since:
V3.0.1 + hotfix PASE 35

getRMIPort

public int getRMIPort()
Get the RMI server port number.

Returns:
rmi port number.
Since:
version 1.0.0

getServerHost

public java.lang.String getServerHost()
Get the server's host.

Returns:
the server's host
Since:
version 1.0.0

getServerSuspendTime

public java.lang.String getServerSuspendTime()
impl. remark: It's "ServerSuspendTime" used by FinalCountDownDialog

Returns:
the default count-down time to stop server after stop button pushed

getSetFrontUser

public boolean getSetFrontUser()

getSMTPid

public java.lang.String getSMTPid()

getSMTPpassword

public java.lang.String getSMTPpassword()

getSockPort

public int getSockPort()
Get the socket port number return socket port number

Since:
version 1.0.0

getSoTimeOut

public int getSoTimeOut()
Get the time out value.

Returns:
the time out value
Since:
version 1.0.0

getTaskCacheSize

public int getTaskCacheSize()
Get the task cache size.

Returns:
the task cache size.
Since:
version 1.0.0

getTomcatPath

public java.lang.String getTomcatPath()
Returns:
Returns the tomcatPath.

getUploadPath

public java.lang.String getUploadPath()

getWebAgendaURL

public java.lang.String getWebAgendaURL()

isAuthForceAFDBAuthForAdmin

public boolean isAuthForceAFDBAuthForAdmin()
Returns:
Since:
V3.0

isAutoTruncate

public boolean isAutoTruncate()

isCancelCache

public boolean isCancelCache()

isLDAPAuthEnabled

public boolean isLDAPAuthEnabled()
Returns:
true if the Flow Engine is using ldap to authenticate users.
Since:
V3.1

isLogEnabled

public boolean isLogEnabled()
Whether the task is long enabled.

Returns:
true if the task is long enabled; false otherwise
Since:
version 1.0.0

isMailNeedID

public boolean isMailNeedID()

isMailSSL

public boolean isMailSSL()

isNewAttachFileDirectoryAccess

public boolean isNewAttachFileDirectoryAccess()
Returns:
Since:
V3.0.1 + hotfix PASE 60, AEPP 68.60

isStartTomcat

public boolean isStartTomcat()
Returns:
Returns the startTomcat.

isUseAgentflowAuthAfterLDAPFailed

public boolean isUseAgentflowAuthAfterLDAPFailed()

setAuthForceAFDBAuthForAdmin

public void setAuthForceAFDBAuthForAdmin(boolean authForceAFDBAuthForAdmin)

setAutoTruncate

public void setAutoTruncate(boolean b)

setBLog

public void setBLog(boolean bLog)

setCancelCache

public void setCancelCache(boolean cancelCache)

setCheckServiceSleepTime

public void setCheckServiceSleepTime(int checkServiceSleepTime)

setCsTaskAuditingExpire

public void setCsTaskAuditingExpire(int csTaskAuditingExpire)

setDispatchThreadSize

public void setDispatchThreadSize(int dispatchThreadSize)

setForceCompleteTaskMode

public void setForceCompleteTaskMode(boolean forceCompleteTaskMode)

setLDAPAuthEnabled

public void setLDAPAuthEnabled(boolean LDAPAuthEnabled)

setMailEncoding

public void setMailEncoding(java.lang.String mailEncoding)

setMailNeedID

public void setMailNeedID(boolean mailNeedID)

setMailServer

public void setMailServer(java.lang.String mailServerHost)

setMailServerPort

public void setMailServerPort(int mailServerPort)

setMailSSL

public void setMailSSL(boolean mailSSL)

setMaxClients

public void setMaxClients(int n)
Set the max number of client can exist simultaneously.

Parameters:
n - the given max number
Since:
version 1.0.0

setNewAttachFileDirectoryAccess

public void setNewAttachFileDirectoryAccess(boolean newAttachFileDirectoryAccess)

setReportServerIP

public void setReportServerIP(java.lang.String reportServerIP)

setReportServerPort

public void setReportServerPort(int reportServerPort)

setReScheduleInterval

public void setReScheduleInterval(int reScheduleInterval)

setRMIPort

public void setRMIPort(int port)

setServerHost

public void setServerHost(java.lang.String serverHost)

setServerSuspendTime

public void setServerSuspendTime(java.lang.String serverSuspendTime)

setSetFrontUser

public void setSetFrontUser(boolean setFrontUser)

setSMTPid

public void setSMTPid(java.lang.String smtpId)

setSMTPpassword

public void setSMTPpassword(java.lang.String smtpPassword)

setSockPort

public void setSockPort(int port)
Set the socket port number

Parameters:
port - the given port number
Since:
version 1.0.0

setSoTimeOut

public void setSoTimeOut(int soTimeOut)

setStartTomcat

public void setStartTomcat(boolean startTomcat)
Parameters:
startTomcat - The startTomcat to set.

setTaskCacheSize

public void setTaskCacheSize(int taskCacheSize)

setTomcatPath

public void setTomcatPath(java.lang.String tomcatPath)
Parameters:
tomcatPath - The tomcatPath to set.

setUploadPath

public void setUploadPath(java.lang.String uploadPath)

setUseAgentflowDBAfterLDAPAuthFailed

public void setUseAgentflowDBAfterLDAPAuthFailed(boolean useAgentflowDBAfterLDAPAuthFailed)

setWebAgendaURL

public void setWebAgendaURL(java.lang.String webAgendaURL)

Agentflow
V3.1

Submit a bug or feature
Copyright 1999-2010 Flowring , Inc. 12F., No.120, Sec2, Gongdao 5th Rd.,
Hsinchu City 300, Taiwan (R.O.C.) All Rights Reserved.