public class GuiConfigDescriptor extends Object
Constructor and Description |
---|
GuiConfigDescriptor() |
GuiConfigDescriptor(String description) |
Modifier and Type | Method and Description |
---|---|
void |
addAction(ActionDescriptor action)
Add an action to this descriptor.
|
void |
addAdvancedField(FieldDescriptor fieldDescriptor)
Add an 'advanced' user entry field to this GUI configuration descriptor.
|
void |
addField(FieldDescriptor fieldDescriptor)
Add a user entry field to this GUI configuration descriptor.
|
void |
addListener(ConfigurationListener configurationListener)
Add a ConfigurationListener to the ordered list of ConfigurationListeners for this
descriptor.
|
void |
addPreRenderCallback(PreRenderCallback callback)
Add a PreRenderCallback to the ordered list of callbacks for this descriptor.
|
void |
addSummaryDescriptor(ReadOnlyDescriptor readOnlyDescriptor)
Add a read only summary descriptor to this GUI configuration descriptor.
|
void |
addTable(TableDescriptor table)
Add a table to the ordered list of Tables in this descriptor.
|
void |
addValidator(ConfigurationValidator configurationValidator)
Add a ConfigurationValidator to the ordered list of ConfigurationValidators for this
descriptor.
|
List<ActionDescriptor> |
getActions()
Gets the list of ActionDescriptors.
|
List<FieldDescriptor> |
getAdvancedFields()
Gets the ordered list of 'advanced' FieldDescriptors.
|
Set<Class<? extends FieldDescriptor>> |
getAllDescriptorTypesInUse() |
String |
getDescription()
Gets the description.
|
List<FieldDescriptor> |
getFields()
Gets the ordered list of FieldDescriptors.
|
List<ConfigurationListener> |
getListenerChain()
Gets the ordered list of ConfigurationListeners.
|
List<PreRenderCallback> |
getPreRenderCallbackChain()
Gets the ordered list of callbacks.
|
List<ReadOnlyDescriptor> |
getSummaryDescriptors()
Gets the ordered list of read only summary descriptors.
|
List<TableDescriptor> |
getTables()
Gets the ordered list of Tables.
|
List<ConfigurationValidator> |
getValidationChain()
Gets the ordered list of ConfigurationValidators.
|
boolean |
hasActions()
Returns whether or not this descriptor has actions.
|
void |
setDescription(String description)
Set the description that will be displayed at the top of the GUI configuration page.
|
public GuiConfigDescriptor()
public GuiConfigDescriptor(String description)
public void addField(FieldDescriptor fieldDescriptor)
fieldDescriptor
- the field to add.public List<FieldDescriptor> getFields()
public void addAdvancedField(FieldDescriptor fieldDescriptor)
fieldDescriptor
- the field to add.public List<FieldDescriptor> getAdvancedFields()
public void addTable(TableDescriptor table)
table
- the Table to add.public List<TableDescriptor> getTables()
public void addValidator(ConfigurationValidator configurationValidator)
configurationValidator
- public void addListener(ConfigurationListener configurationListener)
configurationListener
- public List<ConfigurationValidator> getValidationChain()
public List<ConfigurationListener> getListenerChain()
public void addPreRenderCallback(PreRenderCallback callback)
callback
- the PreRenderCallback addpublic List<PreRenderCallback> getPreRenderCallbackChain()
public void addAction(ActionDescriptor action)
action
- the ActionDescriptor to add.public List<ActionDescriptor> getActions()
public boolean hasActions()
public String getDescription()
public void setDescription(String description)
description
- the new description.public Set<Class<? extends FieldDescriptor>> getAllDescriptorTypesInUse()
public void addSummaryDescriptor(ReadOnlyDescriptor readOnlyDescriptor)
readOnlyDescriptor
- the read only summary descriptor to add.public List<ReadOnlyDescriptor> getSummaryDescriptors()
Copyright 2019 Ping Identity Corp. All rights reserved.