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 TypeMethodDescriptionvoidaddAssociation(String issueTypeId, String fieldConfigurationName) addFieldConfigurationScheme(String name, String description) voideditAssociation(String issueTypeId, String newFieldConfigurationName) protected NavigationgoTo()Navigates to the configuration page for this field configuration scheme.voidremoveAssociation(String issueTypeId)
-
Constructor Details
-
FieldConfigurationSchemesImpl
@Inject public FieldConfigurationSchemesImpl(net.sourceforge.jwebunit.WebTester tester, JIRAEnvironmentData environmentData)
-
-
Method Details
-
addFieldConfigurationScheme
- Specified by:
addFieldConfigurationSchemein 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:
fieldConfigurationSchemein interfaceFieldConfigurationSchemes- Parameters:
name- the name of the field configuration scheme- Returns:
- a reference to a
FieldConfigurationSchemes.FieldConfigurationSchemeinstance 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.FieldConfigurationSchemeNavigates to the configuration page for this field configuration scheme.- Specified by:
goToin interfaceFieldConfigurationSchemes.FieldConfigurationScheme- Returns:
- this field configuration scheme.
-
addAssociation
- Specified by:
addAssociationin 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:
editAssociationin 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:
removeAssociationin interfaceFieldConfigurationSchemes.FieldConfigurationScheme- Parameters:
issueTypeId- the issue type id (e.g. Bug = "1"); must not be null