public class DisplayerConstraints extends Object
| Modifier and Type | Field and Description |
|---|---|
protected org.dashbuilder.dataset.DataSetLookupConstraints |
dataSetLookupConstraints |
static int |
ERROR_DATASET_LOOKUP_CONSTRAINTS_NOT_FOUND |
protected Set<DisplayerAttributeDef> |
excludedEditorAttributes |
protected Set<DisplayerAttributeDef> |
supportedEditorAttributes |
protected Set<String> |
supportedEditorAttrStrings |
protected boolean |
supportingComponentAttributes |
| Constructor and Description |
|---|
DisplayerConstraints(org.dashbuilder.dataset.DataSetLookupConstraints dataSetLookupConstraints) |
| Modifier and Type | Method and Description |
|---|---|
org.dashbuilder.dataset.ValidationError |
check(DisplayerSettings settings) |
protected org.dashbuilder.dataset.ValidationError |
createValidationError(int error) |
DisplayerConstraints |
excludeAttribute(DisplayerAttributeDef attributeDef) |
org.dashbuilder.dataset.DataSetLookupConstraints |
getDataSetLookupConstraints() |
Set<DisplayerAttributeDef> |
getSupportedAttributes() |
void |
removeUnsupportedAttributes(DisplayerSettings displayerSettings) |
DisplayerConstraints |
setDataSetLookupConstraints(org.dashbuilder.dataset.DataSetLookupConstraints dataSetLookupConstraints) |
DisplayerConstraints |
supportingComponentAttributes(boolean supportingComponentAttributes) |
DisplayerConstraints |
supportsAttribute(DisplayerAttributeDef attributeDef) |
protected org.dashbuilder.dataset.DataSetLookupConstraints dataSetLookupConstraints
protected Set<DisplayerAttributeDef> supportedEditorAttributes
protected Set<DisplayerAttributeDef> excludedEditorAttributes
protected boolean supportingComponentAttributes
public static final int ERROR_DATASET_LOOKUP_CONSTRAINTS_NOT_FOUND
public DisplayerConstraints(org.dashbuilder.dataset.DataSetLookupConstraints dataSetLookupConstraints)
public DisplayerConstraints supportingComponentAttributes(boolean supportingComponentAttributes)
public DisplayerConstraints supportsAttribute(DisplayerAttributeDef attributeDef)
public DisplayerConstraints excludeAttribute(DisplayerAttributeDef attributeDef)
public Set<DisplayerAttributeDef> getSupportedAttributes()
public org.dashbuilder.dataset.DataSetLookupConstraints getDataSetLookupConstraints()
public DisplayerConstraints setDataSetLookupConstraints(org.dashbuilder.dataset.DataSetLookupConstraints dataSetLookupConstraints)
public void removeUnsupportedAttributes(DisplayerSettings displayerSettings)
public org.dashbuilder.dataset.ValidationError check(DisplayerSettings settings)
protected org.dashbuilder.dataset.ValidationError createValidationError(int error)
Copyright © 2012–2020 JBoss by Red Hat. All rights reserved.