public abstract class InsightFieldRole extends Object
InsightFieldConfiguration. A concrete role will dictate
additional behavior (targeting another field) for a field. Example: enabling / disabling other field etc.| Modifier and Type | Field and Description |
|---|---|
static InsightFieldRole |
NO_ROLE |
| Modifier and Type | Method and Description |
|---|---|
static InsightFieldRole |
enableOne(InsightFieldConfiguration defaultInsightFieldConfig,
InsightFieldConfiguration... insightFieldConfigs)
Allows a field to control a group of fields by: enabling one and disable the others.
|
static InsightFieldRole |
enabler(InsightFieldConfiguration insightFieldConfig)
Allows a field to be enabled / disabled.
|
List<String> |
getDependantFieldKeys() |
String |
getTargetFieldKey() |
String |
getType() |
void |
setDependantFieldKeys(List<String> dependantFieldKeys) |
void |
setTargetFieldKey(String targetFieldKey) |
void |
setType(String type) |
static InsightFieldRole |
toggler(InsightFieldConfiguration insightFieldConfig)
Allows a field field be shown / hidden.
|
public static final InsightFieldRole NO_ROLE
public static InsightFieldRole enabler(InsightFieldConfiguration insightFieldConfig)
public static InsightFieldRole toggler(InsightFieldConfiguration insightFieldConfig)
public static InsightFieldRole enableOne(InsightFieldConfiguration defaultInsightFieldConfig, InsightFieldConfiguration... insightFieldConfigs)
defaultInsightFieldConfig - The field that will be enabled by defaultinsightFieldConfigs - All the fields to be controlled by this "select" field.public String getType()
public void setType(String type)
public String getTargetFieldKey()
public void setTargetFieldKey(String targetFieldKey)
Copyright © 2024 Atlassian. All rights reserved.