com.atlassian.confluence.util
Class SupportUtility
java.lang.Object
com.atlassian.confluence.util.SupportUtility
- All Implemented Interfaces:
- com.opensymphony.xwork.Validateable
public class SupportUtility
- extends java.lang.Object
- implements com.opensymphony.xwork.Validateable
Builds a zip of important files for use in a support request.
Constructor Summary |
SupportUtility(com.opensymphony.xwork.ValidationAware validationAware,
java.lang.String homeDirectory,
java.lang.String webInfClassesDir)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SupportUtility
public SupportUtility(com.opensymphony.xwork.ValidationAware validationAware,
java.lang.String homeDirectory,
java.lang.String webInfClassesDir)
setDefaults
public void setDefaults()
validate
public void validate()
- Specified by:
validate
in interface com.opensymphony.xwork.Validateable
createSupportZip
public java.io.File createSupportZip()
throws java.io.IOException
- Throws:
java.io.IOException
isTomcatServer
public boolean isTomcatServer()
isIncludeLogs
public boolean isIncludeLogs()
setIncludeLogs
public void setIncludeLogs(boolean includeLogs)
isIncludeServerLogs
public boolean isIncludeServerLogs()
setIncludeServerLogs
public void setIncludeServerLogs(boolean includeServerLogs)
getServerLogsDirectory
public java.lang.String getServerLogsDirectory()
setServerLogsDirectory
public void setServerLogsDirectory(java.lang.String serverLogsDirectory)
isIncludeTomcatConf
public boolean isIncludeTomcatConf()
setIncludeTomcatConf
public void setIncludeTomcatConf(boolean includeTomcatConf)
isIncludeCfgFile
public boolean isIncludeCfgFile()
setIncludeCfgFile
public void setIncludeCfgFile(boolean includeCfgFile)
isIncludeUserFiles
public boolean isIncludeUserFiles()
setIncludeUserFiles
public void setIncludeUserFiles(boolean includeUserFiles)
Copyright © 2003-2010 Atlassian. All Rights Reserved.