Jive Forums API (5.5.20.2-oracle) Developer Javadocs

com.jivesoftware.forum.upgrade.tasks
Class CreatePostReplyViaEmail

java.lang.Object
  extended by com.jivesoftware.forum.upgrade.tasks.AbstractDatabaseUpgradeTask
      extended by com.jivesoftware.forum.upgrade.tasks.CreatePostReplyViaEmail
All Implemented Interfaces:
UpgradeTask

public class CreatePostReplyViaEmail
extends AbstractDatabaseUpgradeTask

Upgrade task which adds the jiveEmailToken database table needed by the email reply posting feature.


Constructor Summary
CreatePostReplyViaEmail()
           
 
Method Summary
 void doTask()
          Executes the upgrade task
 java.lang.String getDescription()
          Upgrade task description
 java.lang.String getEstimatedRunTime()
          Upgrade task estimated run time
 java.lang.String getInstructionsFile()
          Returns the name of the manual instructions file that will be displayed if the task fails.
 java.lang.String getName()
          Upgrade task name
 
Methods inherited from class com.jivesoftware.forum.upgrade.tasks.AbstractDatabaseUpgradeTask
doesTableExist, executeSQLScript, executeStatement, isSQLCommandPart
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreatePostReplyViaEmail

public CreatePostReplyViaEmail()
Method Detail

getName

public java.lang.String getName()
Description copied from interface: UpgradeTask
Upgrade task name


getDescription

public java.lang.String getDescription()
Description copied from interface: UpgradeTask
Upgrade task description


getEstimatedRunTime

public java.lang.String getEstimatedRunTime()
Description copied from interface: UpgradeTask
Upgrade task estimated run time


getInstructionsFile

public java.lang.String getInstructionsFile()
Description copied from interface: UpgradeTask
Returns the name of the manual instructions file that will be displayed if the task fails. All instructions files will be loaded from com/jivesoftware/forum/upgrade/instructions/ and will have .txt appended to the end of the name.


doTask

public void doTask()
            throws java.sql.SQLException,
                   java.io.IOException
Description copied from interface: UpgradeTask
Executes the upgrade task

Throws:
java.sql.SQLException
java.io.IOException

Jive Forums Project Page

Copyright © 1999-2006 Jive Software.