Package com.pingidentity.sources
Class SourceDescriptor
- java.lang.Object
-
- com.pingidentity.sdk.PluginDescriptor
-
- com.pingidentity.sources.SourceDescriptor
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CustomDataSourceDriverDescriptor
public class SourceDescriptor extends PluginDescriptor implements Serializable
This class returns metadata describing a ConfigurableDriver to the PingFederate server. The metadata is used by PingFederate to generate a dynamic UI that allows the user to interact with the driver.
-
-
Field Summary
-
Fields inherited from class com.pingidentity.sdk.PluginDescriptor
UNDEFINED
-
-
Constructor Summary
Constructors Constructor Description SourceDescriptor(ConfigurableDriver driver, String type)Creates a new SourceDescriptor with no custom GUI configuration screen.SourceDescriptor(ConfigurableDriver driver, String type, AdapterConfigurationGuiDescriptor adapterConfigurationGuiDesc)Creates a new SourceDescriptor with a custom GUI configuration screen.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AdapterConfigurationGuiDescriptorgetConfigurationGuiDescriptor()Gets theAdapterConfigurationGuiDescriptorfor the driver that this object describes.StringgetDriverClassName()Gets the class name of driver associated with this SourceDescriptor.booleanhasActions()Checks if theAdapterConfigurationGuiDescriptorhas actions.-
Methods inherited from class com.pingidentity.sdk.PluginDescriptor
equals, getAttributeContractSet, getGuiConfigDescriptor, getGuiConfigDescriptorBuilder, getMetadata, getPluginClassName, getType, getVersion, hashCode, isSupportsExtendedContract, setAttributeContactSet, setAttributeContractSet, setMetadata, setSupportsExtendedContract
-
-
-
-
Constructor Detail
-
SourceDescriptor
public SourceDescriptor(ConfigurableDriver driver, String type)
Creates a new SourceDescriptor with no custom GUI configuration screen.- Parameters:
driver- Driver implementation this descriptor describes.type- the type of the adapter is the 'friendly' name that will show up in the PF GUI - usually in the context of selecting from a number of available adapters. A relatively descriptive and unique name should be used.
-
SourceDescriptor
public SourceDescriptor(ConfigurableDriver driver, String type, AdapterConfigurationGuiDescriptor adapterConfigurationGuiDesc)
Creates a new SourceDescriptor with a custom GUI configuration screen.- Parameters:
driver- the driver implementation this descriptor describes.type- the type of the driver is the 'friendly' name that will show up in the PF GUI - usually in the context of selecting from a number of available drivers. A relatively descriptive and unique name should be used.adapterConfigurationGuiDesc- a descriptor object that tells PingFederate how to render the configuration screen(s) for the driver this object describes as well as how to validate the input from the front end.
-
-
Method Detail
-
getDriverClassName
public String getDriverClassName()
Gets the class name of driver associated with this SourceDescriptor.- Returns:
- the classname as a String.
-
getConfigurationGuiDescriptor
public AdapterConfigurationGuiDescriptor getConfigurationGuiDescriptor()
Gets theAdapterConfigurationGuiDescriptorfor the driver that this object describes.- Returns:
- the GUI descriptor of the driver that this object describes.
-
hasActions
public boolean hasActions()
Checks if theAdapterConfigurationGuiDescriptorhas actions.- Returns:
- true if the driver has actions
-
-