Class FieldLayoutCheck
java.lang.Object
com.atlassian.jira.appconsistency.integrity.check.CheckImpl<CheckAmendment>
com.atlassian.jira.appconsistency.integrity.check.FieldLayoutCheck
- All Implemented Interfaces:
Check<CheckAmendment>
Check that all Field Layout Items are associated with valid custom fields (it doesn't apply to the Orderable system fields,
only IDs with the "customfield_" prefix are taken into account). That the field ids specified by the layout item exist in the database.
If not, the layout item is considered corrupt and will be removed.
Check based on:
-
Field Summary
Fields inherited from class com.atlassian.jira.appconsistency.integrity.check.CheckImpl
applicationProperties, FORMAT_LONG_WITHOUT_COMMA, id, ofBizDelegator, queryDslAccessor
-
Constructor Summary
ConstructorsConstructorDescriptionFieldLayoutCheck
(OfBizDelegator ofBizDelegator, QueryDslAccessor queryDslAccessor, ApplicationProperties applicationProperties, int id) -
Method Summary
Methods inherited from class com.atlassian.jira.appconsistency.integrity.check.CheckImpl
getI18NBean, getId, getIntegrityCheck, getLoggedInUser, getMaxResultsLimit, setIntegrityCheck
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.atlassian.jira.appconsistency.integrity.check.Check
getUnavailableMessage, isAvailable
-
Constructor Details
-
FieldLayoutCheck
public FieldLayoutCheck(OfBizDelegator ofBizDelegator, QueryDslAccessor queryDslAccessor, ApplicationProperties applicationProperties, int id)
-
-
Method Details
-
getDescription
-
preview
- Throws:
IntegrityException
-
correct
- Throws:
IntegrityException
-
hasLongRunningFix
public boolean hasLongRunningFix()
-