com.atlassian.jira.functest.framework.setup
Class JiraSetupInstanceHelper

java.lang.Object
  extended by com.atlassian.jira.functest.framework.setup.JiraSetupInstanceHelper

public class JiraSetupInstanceHelper
extends Object

This contains common code between the old and new style func test frameworks that can detect if JIRA is setup and the conditions that it can be in.

Since:
v4.0

Nested Class Summary
static class JiraSetupInstanceHelper.SetupStage
          Setup stages put in order.
 
Constructor Summary
JiraSetupInstanceHelper(net.sourceforge.jwebunit.WebTester tester, JIRAEnvironmentData jiraEnvironmentData)
           
 
Method Summary
 void ensureJIRAIsReadyToGo(FuncTestWebClientListener webClientListener)
           
 boolean isJiraSetup()
           
static void setupDirectJDBCConnection(net.sourceforge.jwebunit.WebTester webTester, JIRAEnvironmentData environmentData)
           
 void setupJIRAStepsInSet(EnumSet<JiraSetupInstanceHelper.SetupStage> stepsInRange)
          Performs JIRA setup steps in given range.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JiraSetupInstanceHelper

public JiraSetupInstanceHelper(net.sourceforge.jwebunit.WebTester tester,
                               JIRAEnvironmentData jiraEnvironmentData)
Method Detail

ensureJIRAIsReadyToGo

public void ensureJIRAIsReadyToGo(FuncTestWebClientListener webClientListener)

isJiraSetup

public boolean isJiraSetup()

setupJIRAStepsInSet

public void setupJIRAStepsInSet(EnumSet<JiraSetupInstanceHelper.SetupStage> stepsInRange)
Performs JIRA setup steps in given range. So if U want to setup JIRA up to EMAIL notification make call.

Parameters:
stepsInRange - stepsp to perform - by EnumSet definition they are always in proper order. Use EnumSet.range and SetupStage.next, prev.
See Also:
JiraSetupInstanceHelper.SetupStage.to(com.atlassian.jira.functest.framework.setup.JiraSetupInstanceHelper.SetupStage), EnumSet.range(Enum, Enum)

setupDirectJDBCConnection

public static void setupDirectJDBCConnection(net.sourceforge.jwebunit.WebTester webTester,
                                             JIRAEnvironmentData environmentData)


Copyright © 2002-2014 Atlassian. All Rights Reserved.