public class PluginDescriptor extends Object
Constructor and Description |
---|
PluginDescriptor()
Creates an empty PluginDescriptor.
|
PluginDescriptor(String type,
ConfigurablePlugin plugin,
GuiConfigDescriptor guiConfigDesc)
Creates a PluginDescriptor based on the specified type, plugin and a GUI configuration descriptor.
|
PluginDescriptor(String type,
ConfigurablePlugin plugin,
GuiConfigDescriptorBuilder guiConfigDescBuilder)
Creates a PluginDescriptor based on the specified type, plugin and a GUI configuration descriptor builder.
|
PluginDescriptor(String type,
ConfigurablePlugin plugin,
GuiConfigDescriptorBuilder guiConfigDescBuilder,
String version)
Creates a PluginDescriptor based on the specified type, plugin and a GUI configuration descriptor builder.
|
PluginDescriptor(String type,
ConfigurablePlugin plugin,
GuiConfigDescriptor guiConfigDesc,
String version)
Creates a PluginDescriptor based on the specified type, plugin and a GUI configuration descriptor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Set<String> |
getAttributeContractSet()
Gets the attribute contract of the plugin that this object describes.
|
GuiConfigDescriptor |
getGuiConfigDescriptor()
Deprecated.
As of 6.11, replaced by
getGuiConfigDescriptorBuilder() |
GuiConfigDescriptorBuilder |
getGuiConfigDescriptorBuilder()
The GUI descriptor builder this PluginDescriptor represents.
|
String |
getPluginClassName()
Gets the class name of the implementing plugin that this PluginDescriptor describes.
|
String |
getType()
Gets the the type (or name) of the plugin that this object describes.
|
String |
getVersion()
Gets the version of this PluginDescriptor.
|
int |
hashCode() |
boolean |
isSupportsExtendedContract()
Returns whether or not the implementing plugin allows for attributes in addition to those in its contract.
|
void |
setAttributeContactSet(Set<String> attributeContactSet)
Deprecated.
Use the correctly spelled method
setAttributeContractSet(Set) . |
void |
setAttributeContractSet(Set<String> attributeContractSet)
Sets the attribute contract that this plugin describes.
|
void |
setSupportsExtendedContract(boolean supportsExtendedContract)
Sets whether or not the implementing plugin allows for attributes in addition to those in its contract.
|
public static final String UNDEFINED
public PluginDescriptor()
public PluginDescriptor(String type, ConfigurablePlugin plugin, GuiConfigDescriptor guiConfigDesc)
type
- A name to represent the type of this plugin.plugin
- The configurable plugin that this descriptor is meant to represent.guiConfigDesc
- The GUI configuration descriptor associated with this PluginDescriptor.public PluginDescriptor(String type, ConfigurablePlugin plugin, GuiConfigDescriptor guiConfigDesc, String version)
type
- A name to represent the type of this plugin.plugin
- The configurable plugin that this descriptor is meant to represent.guiConfigDesc
- The GUI configuration descriptor associated with this PluginDescriptor.version
- The version of this PluginDescriptor.public PluginDescriptor(String type, ConfigurablePlugin plugin, GuiConfigDescriptorBuilder guiConfigDescBuilder)
type
- A name to represent the type of this plugin.plugin
- The configurable plugin that this descriptor is meant to represent.guiConfigDescBuilder
- The GUI configuration descriptor builder associated with this PluginDescriptor.public PluginDescriptor(String type, ConfigurablePlugin plugin, GuiConfigDescriptorBuilder guiConfigDescBuilder, String version)
type
- A name to represent the type of this plugin.plugin
- The configurable plugin that this descriptor is meant to represent.guiConfigDescBuilder
- The GUI configuration descriptor builder associated with this PluginDescriptor.version
- The version of this PluginDescriptor.@Deprecated public void setAttributeContactSet(Set<String> attributeContactSet)
setAttributeContractSet(Set)
.attributeContactSet
- A set of strings defining the names of the attributes.public void setAttributeContractSet(Set<String> attributeContractSet)
attributeContractSet
- A set of strings defining the names of the attributes.public String getType()
public Set<String> getAttributeContractSet()
public String getPluginClassName()
@Deprecated public GuiConfigDescriptor getGuiConfigDescriptor()
getGuiConfigDescriptorBuilder()
public GuiConfigDescriptorBuilder getGuiConfigDescriptorBuilder()
public boolean isSupportsExtendedContract()
public void setSupportsExtendedContract(boolean supportsExtendedContract)
supportsExtendedContract
- Whether or not the implementing plugin allows for attributes
in addition to those in its contract.public String getVersion()
Copyright 2019 Ping Identity Corp. All rights reserved.