Class FieldConfigurationSchemesImpl
java.lang.Object
com.atlassian.jira.functest.framework.admin.FieldConfigurationSchemesImpl
- All Implemented Interfaces:
FieldConfigurationSchemes
,FieldConfigurationSchemes.FieldConfigurationScheme
public class FieldConfigurationSchemesImpl
extends Object
implements FieldConfigurationSchemes, FieldConfigurationSchemes.FieldConfigurationScheme
- Since:
- v4.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.atlassian.jira.functest.framework.admin.FieldConfigurationSchemes
FieldConfigurationSchemes.FieldConfigurationScheme
-
Constructor Summary
ConstructorsConstructorDescriptionFieldConfigurationSchemesImpl
(net.sourceforge.jwebunit.WebTester tester, JIRAEnvironmentData environmentData) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addAssociation
(String issueTypeId, String fieldConfigurationName) addFieldConfigurationScheme
(String name, String description) void
editAssociation
(String issueTypeId, String newFieldConfigurationName) protected Navigation
goTo()
Navigates to the configuration page for this field configuration scheme.void
removeAssociation
(String issueTypeId)
-
Constructor Details
-
FieldConfigurationSchemesImpl
@Inject public FieldConfigurationSchemesImpl(net.sourceforge.jwebunit.WebTester tester, JIRAEnvironmentData environmentData)
-
-
Method Details
-
addFieldConfigurationScheme
- Specified by:
addFieldConfigurationScheme
in interfaceFieldConfigurationSchemes
- 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
- Specified by:
fieldConfigurationScheme
in interfaceFieldConfigurationSchemes
- 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
Description copied from interface:FieldConfigurationSchemes.FieldConfigurationScheme
Navigates to the configuration page for this field configuration scheme.- Specified by:
goTo
in interfaceFieldConfigurationSchemes.FieldConfigurationScheme
- Returns:
- this field configuration scheme.
-
addAssociation
- Specified by:
addAssociation
in interfaceFieldConfigurationSchemes.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
- Specified by:
editAssociation
in interfaceFieldConfigurationSchemes.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
- Specified by:
removeAssociation
in interfaceFieldConfigurationSchemes.FieldConfigurationScheme
- Parameters:
issueTypeId
- the issue type id (e.g. Bug = "1"); must not be null