public class MockFieldConfigurationScheme extends Object implements FieldConfigurationScheme
FieldConfigurationScheme that compares equality
based on id and name| Constructor and Description |
|---|
MockFieldConfigurationScheme() |
MockFieldConfigurationScheme(Long id,
String name,
String description) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Set<Long> |
getAllFieldLayoutIds(Collection<String> allIssueTypeIds)
Returns the id's of the field layout's represented by FieldConfigurationScheme (i.e.
|
String |
getDescription() |
Long |
getFieldLayoutId(String issueTypeId)
Returns the id of the field layout to use for this given issue type id.
|
Long |
getId() |
String |
getName() |
int |
hashCode() |
MockFieldConfigurationScheme |
setDescription(String description) |
MockFieldConfigurationScheme |
setId(Long id) |
MockFieldConfigurationScheme |
setIssueTypeToFieldLayoutIdMapping(Map<String,Long> issueTypeToFieldLayoutIdMapping) |
MockFieldConfigurationScheme |
setName(String name) |
public MockFieldConfigurationScheme setId(Long id)
public MockFieldConfigurationScheme setName(String name)
public MockFieldConfigurationScheme setDescription(String description)
public Long getId()
getId in interface FieldConfigurationSchemepublic String getName()
getName in interface FieldConfigurationSchemepublic String getDescription()
getDescription in interface FieldConfigurationSchemepublic Long getFieldLayoutId(String issueTypeId)
FieldConfigurationSchemegetFieldLayoutId in interface FieldConfigurationSchemeissueTypeId - the Issue Type ID.FieldLayout ("Field Configuration") to use for this given issue type id.public Set<Long> getAllFieldLayoutIds(Collection<String> allIssueTypeIds)
FieldConfigurationSchemegetAllFieldLayoutIds in interface FieldConfigurationSchemeallIssueTypeIds - all the issue type id's that are in the system. This is used to determine if we need
to return the layout for the default, if we have all the issue types mapped in the system then we do not care
about the default since it is never used.FieldLayout ("Field Configuration") to use for the project this is associcated with.public MockFieldConfigurationScheme setIssueTypeToFieldLayoutIdMapping(Map<String,Long> issueTypeToFieldLayoutIdMapping)
Copyright © 2002-2016 Atlassian. All Rights Reserved.