com.atlassian.jira.functest.framework.admin
Class FieldConfigurationSchemesImpl
java.lang.Object
com.atlassian.jira.functest.framework.AbstractFuncTestUtil
com.atlassian.jira.functest.framework.admin.FieldConfigurationSchemesImpl
- All Implemented Interfaces:
- FieldConfigurationSchemes, FieldConfigurationSchemes.FieldConfigurationScheme, com.atlassian.jira.testkit.client.log.FuncTestLogger
public class FieldConfigurationSchemesImpl
- extends AbstractFuncTestUtil
- implements FieldConfigurationSchemes, FieldConfigurationSchemes.FieldConfigurationScheme
- Since:
- v4.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FieldConfigurationSchemesImpl
public FieldConfigurationSchemesImpl(net.sourceforge.jwebunit.WebTester tester,
JIRAEnvironmentData environmentData)
getNavigation
protected Navigation getNavigation()
getForm
protected Form getForm()
addFieldConfigurationScheme
public String addFieldConfigurationScheme(String name,
String description)
- Specified by:
addFieldConfigurationScheme
in interface FieldConfigurationSchemes
- Parameters:
name
- the name of the new schemedescription
- the description of the new scheme; optional (use null to ignore)
- Returns:
- the id of the new field configuration scheme
fieldConfigurationScheme
public FieldConfigurationSchemes.FieldConfigurationScheme fieldConfigurationScheme(String name)
- Specified by:
fieldConfigurationScheme
in interface FieldConfigurationSchemes
- Parameters:
name
- the name of the field configuration scheme
- Returns:
- a reference to a
FieldConfigurationSchemes.FieldConfigurationScheme
instance
that can be used to perform actions on the scheme. Note that only one field configuration scheme can be accessed
at a time; if this method is called again, any prior references will now refer to the new scheme.
goTo
public FieldConfigurationSchemes.FieldConfigurationScheme goTo()
- Description copied from interface:
FieldConfigurationSchemes.FieldConfigurationScheme
- Navigates to the configuration page for this field configuration scheme.
- Specified by:
goTo
in interface FieldConfigurationSchemes.FieldConfigurationScheme
- Returns:
- this field configuration scheme.
addAssociation
public void addAssociation(String issueTypeId,
String fieldConfigurationName)
- Specified by:
addAssociation
in interface FieldConfigurationSchemes.FieldConfigurationScheme
- Parameters:
issueTypeId
- the issue type id (e.g. Bug = "1"); must not be nullfieldConfigurationName
- the name of the field configuration to associate to the issue type e.g. Default Field Configuration
editAssociation
public void editAssociation(String issueTypeId,
String newFieldConfigurationName)
- Specified by:
editAssociation
in interface FieldConfigurationSchemes.FieldConfigurationScheme
- Parameters:
issueTypeId
- the issue type id (e.g. Bug = "1"); null represents the "unmapped" associationnewFieldConfigurationName
- the name of the new field configuration to associate to the issue type e.g. Default Field Configuration
removeAssociation
public void removeAssociation(String issueTypeId)
- Specified by:
removeAssociation
in interface FieldConfigurationSchemes.FieldConfigurationScheme
- Parameters:
issueTypeId
- the issue type id (e.g. Bug = "1"); must not be null
Copyright © 2002-2014 Atlassian. All Rights Reserved.