com.atlassian.confluence.it.admin
Class AttachmentStorageConfiguration

java.lang.Object
  extended by com.atlassian.confluence.it.admin.AttachmentStorageConfiguration

public class AttachmentStorageConfiguration
extends java.lang.Object

Embodies the view/edit/migrate Attachment Storage screens.


Nested Class Summary
static class AttachmentStorageConfiguration.StorageMethod
           
 
Constructor Summary
AttachmentStorageConfiguration()
           
AttachmentStorageConfiguration(net.sourceforge.jwebunit.junit.WebTester webTester)
           
 
Method Summary
 void edit()
          Navigate to the edit screen.
 AttachmentStorageConfiguration.StorageMethod getCurrentStorageType()
          This can only be called from the edit screen.
 boolean migrateToDatabase(boolean nonBackgroundTask)
           
 boolean migrateToFilesystem(boolean nonBackgroundTask)
           
 void view()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttachmentStorageConfiguration

public AttachmentStorageConfiguration(net.sourceforge.jwebunit.junit.WebTester webTester)

AttachmentStorageConfiguration

public AttachmentStorageConfiguration()
Method Detail

view

public void view()

migrateToDatabase

public boolean migrateToDatabase(boolean nonBackgroundTask)

migrateToFilesystem

public boolean migrateToFilesystem(boolean nonBackgroundTask)

edit

public void edit()
Navigate to the edit screen. This is currently a better screen for checking the configuration than the view screen. (Needs html fixin').


getCurrentStorageType

public AttachmentStorageConfiguration.StorageMethod getCurrentStorageType()
This can only be called from the edit screen. That is, call edit() first

Returns:
the currently selected StorageType.


Copyright © 2003-2014 Atlassian. All Rights Reserved.