com.atlassian.confluence.util
Class SupportUtility

java.lang.Object
  extended by 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.ActionSupport validationAware, java.lang.String localHomeDirectory, java.lang.String webInfClassesDir)
           
 
Method Summary
 java.io.File createSupportZip()
           
 java.lang.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(java.lang.String serverLogsDirectory)
           
 void validate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SupportUtility

public SupportUtility(com.opensymphony.xwork.ActionSupport validationAware,
                      java.lang.String localHomeDirectory,
                      java.lang.String webInfClassesDir)
Method Detail

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-2014 Atlassian. All Rights Reserved.