public static interface FieldConfigurations.FieldConfiguration
| Modifier and Type | Method and Description |
|---|---|
String |
getRenderer(String fieldName) |
FieldScreenAssociations |
getScreens(String name) |
void |
hideField(int id)
Deprecated.
since 4.2. This method is not future-proof; as fields get added to configurations, the 'id'
sequence might change for the field you intended to use. Use
hideFields(String) instead. |
void |
hideFields(String name) |
void |
optionalField(String name) |
void |
requireField(String name) |
void |
setRenderer(String fieldName,
String rendererName)
Note: this assumes that the field is a Renderable Field.
|
void |
showField(int id)
Deprecated.
since 4.2. This method is not future-proof; as fields get added to configurations, the 'id'
sequence might change for the field you intended to use. Use
showFields(String) instead. |
void |
showFields(String name) |
void showField(int id)
showFields(String) instead.id - the sequence of the field you want to show in the Field Configuration screenvoid hideField(int id)
hideFields(String) instead.id - the sequence of the field you want to hide in the Field Configuration screenvoid showFields(String name)
name - The name of the field you wish to show e.g. Affects Version/svoid hideFields(String name)
name - The name of the field you wish to hide e.g. Component/svoid requireField(String name)
name - The name of the field you wish to make required e.g. Descriptionvoid optionalField(String name)
name - The name of the field you wish to make optional e.g. AssigneeString getRenderer(String fieldName)
fieldName - The name of the field e.g. CommentAssertionError - if the field is not renderable.void setRenderer(String fieldName, String rendererName)
fieldName - The nme of the field to apply the renderer to e.g. Log WorkrendererName - The type of renderer to apply e.g. Wiki Style RendererFieldScreenAssociations getScreens(String name)
name - The name of the field you wish to associate to screens e.g. Time TrackingCopyright © 2002-2016 Atlassian. All Rights Reserved.