|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IServerEnvironmentXHelper
Helper interface to set properties on the server environment.
Method Summary | |
---|---|
void |
addEnvProperty(String name,
String value)
Adds or updates a property into the server environment. |
void |
addServerDirectory(String dirPath,
String uRL,
String description,
int cleaningMode,
int maxFileAge,
int type)
Adds a new server directory into the server environment. |
void |
changeLogDirectory(String newLogDirectory)
Changes the log directory for the logger configured in the server environment. |
void |
changeLogLevel(String newLogLevel)
Changes the log level for the logger configured in the server environment. |
void |
changeLogMachineName(String newMachineName)
Changes the machine name for the logger configured in the server environment. |
void |
changeMaxLogFileSize(int maxLogFileSize)
Change the max log file size |
void |
enableCrashDumpGeneration(boolean bEnable)
Enable crash dump files generation |
void |
removeEnvProperty(String name)
Removes a property from the server environment. |
void |
removeServerDirectory(String dirPath)
Removes a server directory from the server environment. |
void |
resetJobID()
Resets the job ID. |
void |
setEnvProperties(IPropertySet ipProps)
Sets the environment properties. |
void |
setJobID(String jobID)
Sets the job ID in the server environment. |
void |
setUserInfo(String userInfo)
Sets the user information into the server environment. |
Method Detail |
---|
void changeLogLevel(String newLogLevel) throws IOException, AutomationException
newLogLevel
- The newLogLevel (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void resetJobID() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setJobID(String jobID) throws IOException, AutomationException
jobID
- The jobID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void addServerDirectory(String dirPath, String uRL, String description, int cleaningMode, int maxFileAge, int type) throws IOException, AutomationException
dirPath
- The dirPath (in)uRL
- The uRL (in)description
- The description (in)cleaningMode
- A com.esri.arcgis.server.esriServerDirectoryCleaningMode constant (in)maxFileAge
- The maxFileAge (in)type
- A com.esri.arcgis.server.esriServerDirectoryType constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void removeServerDirectory(String dirPath) throws IOException, AutomationException
dirPath
- The dirPath (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setUserInfo(String userInfo) throws IOException, AutomationException
userInfo
- The userInfo (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setEnvProperties(IPropertySet ipProps) throws IOException, AutomationException
ipProps
- A reference to a com.esri.arcgis.system.IPropertySet (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void addEnvProperty(String name, String value) throws IOException, AutomationException
name
- The name (in)value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void removeEnvProperty(String name) throws IOException, AutomationException
name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void changeLogMachineName(String newMachineName) throws IOException, AutomationException
newMachineName
- The newMachineName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void changeLogDirectory(String newLogDirectory) throws IOException, AutomationException
newLogDirectory
- The newLogDirectory (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void changeMaxLogFileSize(int maxLogFileSize) throws IOException, AutomationException
maxLogFileSize
- The maxLogFileSize (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void enableCrashDumpGeneration(boolean bEnable) throws IOException, AutomationException
bEnable
- The bEnable (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |