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

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

public class SubtasksImpl
extends AbstractFuncTestUtil
implements Subtasks

Since:
v4.0

Field Summary
 
Fields inherited from class com.atlassian.jira.functest.framework.AbstractFuncTestUtil
environmentData, FS, locators, logger, logIndentLevel, tester
 
Constructor Summary
SubtasksImpl(net.sourceforge.jwebunit.WebTester tester, JIRAEnvironmentData environmentData)
           
 
Method Summary
 void addSubTaskType(String subTaskName, String subTaskDescription)
          Adds a new sub-task type.
 void deleteSubTaskType(String subTaskName)
          Delete an existing sub-task type.
 void disable()
          Disables sub-tasks.
 void enable()
          Enables sub-tasks.
 boolean isEnabled()
           
 
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

SubtasksImpl

public SubtasksImpl(net.sourceforge.jwebunit.WebTester tester,
                    JIRAEnvironmentData environmentData)
Method Detail

enable

public void enable()
Description copied from interface: Subtasks
Enables sub-tasks.

Specified by:
enable in interface Subtasks

disable

public void disable()
Description copied from interface: Subtasks
Disables sub-tasks.

Specified by:
disable in interface Subtasks

isEnabled

public boolean isEnabled()
Specified by:
isEnabled in interface Subtasks
Returns:
true if sub-tasks are currently enabled.

addSubTaskType

public void addSubTaskType(String subTaskName,
                           String subTaskDescription)
Description copied from interface: Subtasks
Adds a new sub-task type. Enables sub-tasks if they are disabled.

Specified by:
addSubTaskType in interface Subtasks
Parameters:
subTaskName - The name of the new sub-task type.
subTaskDescription - The description of the new sub-task type.

deleteSubTaskType

public void deleteSubTaskType(String subTaskName)
Description copied from interface: Subtasks
Delete an existing sub-task type.

Specified by:
deleteSubTaskType in interface Subtasks
Parameters:
subTaskName - The name of the sub-task type to be deleted.


Copyright © 2002-2012 Atlassian. All Rights Reserved.