com.atlassian.jira.functest.framework.admin
Class AttachmentsImpl

java.lang.Object
  extended by com.atlassian.jira.functest.framework.AbstractFuncTestUtil
      extended by com.atlassian.jira.functest.framework.admin.AttachmentsImpl
All Implemented Interfaces:
Attachments, FuncTestLogger

public class AttachmentsImpl
extends AbstractFuncTestUtil
implements Attachments

Since:
v4.1

Field Summary
 
Fields inherited from class com.atlassian.jira.functest.framework.AbstractFuncTestUtil
environmentData, FS, locators, logger, logIndentLevel, tester
 
Constructor Summary
AttachmentsImpl(net.sourceforge.jwebunit.WebTester tester, com.atlassian.jira.webtests.util.JIRAEnvironmentData environmentData, Navigation navigation)
           
 
Method Summary
 void disable()
           
 void disableZipSupport()
           
 void enable()
          Enables attachments and configures JIRA to use the default attachment path (jira.home/data/attachments).
 void enable(String maxAttachmentSize)
           
 void enableZipSupport()
           
 String getCurrentAttachmentPath()
           
 
Methods inherited from class com.atlassian.jira.functest.framework.AbstractFuncTestUtil
childLogIndentLevel, getAssertions, getEnvironmentData, getFuncTestHelperFactory, getLogger, log, log, navigation, submitAtPage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttachmentsImpl

public AttachmentsImpl(net.sourceforge.jwebunit.WebTester tester,
                       com.atlassian.jira.webtests.util.JIRAEnvironmentData environmentData,
                       Navigation navigation)
Method Detail

enable

public void enable()
Description copied from interface: Attachments
Enables attachments and configures JIRA to use the default attachment path (jira.home/data/attachments).

Specified by:
enable in interface Attachments
See Also:
Administration.getCurrentAttachmentPath()

enable

public void enable(String maxAttachmentSize)
Specified by:
enable in interface Attachments

disable

public void disable()
Specified by:
disable in interface Attachments

enableZipSupport

public void enableZipSupport()
Specified by:
enableZipSupport in interface Attachments

disableZipSupport

public void disableZipSupport()
Specified by:
disableZipSupport in interface Attachments

getCurrentAttachmentPath

public String getCurrentAttachmentPath()
Specified by:
getCurrentAttachmentPath in interface Attachments


Copyright © 2002-2012 Atlassian. All Rights Reserved.