public class FieldConfigurationSchemesImpl extends AbstractFuncTestUtil implements FieldConfigurationSchemes, FieldConfigurationSchemes.FieldConfigurationScheme
FieldConfigurationSchemes.FieldConfigurationScheme
environmentData, FS, locators, logger, logIndentLevel, tester
Constructor and Description |
---|
FieldConfigurationSchemesImpl(net.sourceforge.jwebunit.WebTester tester,
JIRAEnvironmentData environmentData) |
Modifier and Type | Method and Description |
---|---|
void |
addAssociation(String issueTypeId,
String fieldConfigurationName) |
String |
addFieldConfigurationScheme(String name,
String description) |
void |
editAssociation(String issueTypeId,
String newFieldConfigurationName) |
FieldConfigurationSchemes.FieldConfigurationScheme |
fieldConfigurationScheme(String name) |
protected Form |
getForm() |
protected Navigation |
getNavigation() |
FieldConfigurationSchemes.FieldConfigurationScheme |
goTo()
Navigates to the configuration page for this field configuration scheme.
|
void |
removeAssociation(String issueTypeId) |
childLogIndentLevel, getAssertions, getEnvironmentData, getFuncTestHelperFactory, getLogger, log, log, navigation, submitAtPage
public FieldConfigurationSchemesImpl(net.sourceforge.jwebunit.WebTester tester, JIRAEnvironmentData environmentData)
protected Navigation getNavigation()
protected Form getForm()
public String addFieldConfigurationScheme(String name, String description)
addFieldConfigurationScheme
in interface FieldConfigurationSchemes
name
- the name of the new schemedescription
- the description of the new scheme; optional (use null to ignore)public FieldConfigurationSchemes.FieldConfigurationScheme fieldConfigurationScheme(String name)
fieldConfigurationScheme
in interface FieldConfigurationSchemes
name
- the name of the field configuration schemeFieldConfigurationSchemes.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.public FieldConfigurationSchemes.FieldConfigurationScheme goTo()
FieldConfigurationSchemes.FieldConfigurationScheme
goTo
in interface FieldConfigurationSchemes.FieldConfigurationScheme
public void addAssociation(String issueTypeId, String fieldConfigurationName)
addAssociation
in interface FieldConfigurationSchemes.FieldConfigurationScheme
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
public void editAssociation(String issueTypeId, String newFieldConfigurationName)
editAssociation
in interface FieldConfigurationSchemes.FieldConfigurationScheme
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
public void removeAssociation(String issueTypeId)
removeAssociation
in interface FieldConfigurationSchemes.FieldConfigurationScheme
issueTypeId
- the issue type id (e.g. Bug = "1"); must not be nullCopyright © 2002-2015 Atlassian. All Rights Reserved.