Package com.atlassian.confluence.util
Class SupportUtility
- java.lang.Object
-
- com.atlassian.confluence.util.SupportUtility
-
- All Implemented Interfaces:
com.opensymphony.xwork2.Validateable
public class SupportUtility extends Object implements com.opensymphony.xwork2.Validateable
Builds a zip of important files for use in a support request.
-
-
Constructor Summary
Constructors Constructor Description SupportUtility(com.opensymphony.xwork2.ActionSupport validationAware, String localHomeDirectory, String webInfClassesDir)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description File
createSupportZip()
String
getServerLogsDirectory()
boolean
isIncludeCfgFile()
boolean
isIncludeLogs()
boolean
isIncludeServerLogs()
boolean
isIncludeTomcatConf()
boolean
isIncludeUserFiles()
boolean
isTomcatServer()
void
setDefaults()
void
setIncludeCfgFile(boolean includeCfgFile)
void
setIncludeLogs(boolean includeLogs)
void
setIncludeServerLogs(boolean includeServerLogs)
void
setIncludeTomcatConf(boolean includeTomcatConf)
void
setIncludeUserFiles(boolean includeUserFiles)
void
setServerLogsDirectory(String serverLogsDirectory)
void
validate()
-
-
-
Method Detail
-
setDefaults
public void setDefaults()
-
validate
public void validate()
- Specified by:
validate
in interfacecom.opensymphony.xwork2.Validateable
-
createSupportZip
public File createSupportZip() throws IOException
- Throws:
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 String getServerLogsDirectory()
-
setServerLogsDirectory
public void setServerLogsDirectory(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)
-
-