public class DefaultCredentialProviderModel extends Object implements CredentialProviderModel
CredentialProviderModel| Modifier and Type | Field and Description |
|---|---|
private String |
_color |
private I18nizableText |
_connectionLabel |
private Class<CredentialProvider> |
_cpClass |
private Configuration |
_cpConfig |
private I18nizableText |
_description |
private String |
_iconDecorator |
private String |
_iconGlyph |
private String |
_iconLarge |
private String |
_iconMedium |
private String |
_iconSmall |
private String |
_id |
private I18nizableText |
_label |
private Map<String,? extends ParameterCheckerDescriptor> |
_parameterCheckers |
private Map<String,? extends Parameter<ParameterHelper.ParameterType>> |
_parameters |
private String |
_pluginName |
| Constructor and Description |
|---|
DefaultCredentialProviderModel(String id,
Class<CredentialProvider> udClass,
Configuration cpConfig,
I18nizableText label,
I18nizableText description,
I18nizableText connectionLabel,
String iconGlyph,
String iconDecorator,
String iconSmall,
String iconMedium,
String iconLarge,
String color,
Map<String,? extends Parameter<ParameterHelper.ParameterType>> parameters,
Map<String,? extends ParameterCheckerDescriptor> parameterCheckers,
String pluginName)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
String |
getColor()
Get the color of the credential provider
|
I18nizableText |
getConnectionLabel()
Get the label for the connection screen of the credential provider
|
Class<CredentialProvider> |
getCredentialProviderClass()
Get the credential provider class
|
Configuration |
getCredentialProviderConfiguration()
Get the additional configuration for the implementation of
CredentialProvider |
I18nizableText |
getDescription()
Get the description text of the credential provider.
|
String |
getIconDecorator()
Get the CSS class for the glyph decorator icon
|
String |
getIconGlyph()
Get the CSS class for the glyph icon
|
String |
getIconLarge()
Get the path of the small icon resource
|
String |
getIconMedium()
Get the path of the small icon resource
|
String |
getIconSmall()
Get the path of the small icon resource
|
String |
getId()
Get the id of this credential provider
|
I18nizableText |
getLabel()
Get the label of the credential provider.
|
Map<String,? extends ParameterCheckerDescriptor> |
getParameterCheckers()
Get the configuration parameter checkers
|
Map<String,? extends Parameter<ParameterHelper.ParameterType>> |
getParameters()
Get the configuration parameters
|
String |
getPluginName()
Returns the plugin name of declaration (for debug purpose)
|
private Class<CredentialProvider> _cpClass
private Configuration _cpConfig
private I18nizableText _label
private I18nizableText _description
private I18nizableText _connectionLabel
private String _iconGlyph
private String _iconDecorator
private String _iconSmall
private String _iconMedium
private String _iconLarge
private Map<String,? extends Parameter<ParameterHelper.ParameterType>> _parameters
private Map<String,? extends ParameterCheckerDescriptor> _parameterCheckers
private String _pluginName
public DefaultCredentialProviderModel(String id, Class<CredentialProvider> udClass, Configuration cpConfig, I18nizableText label, I18nizableText description, I18nizableText connectionLabel, String iconGlyph, String iconDecorator, String iconSmall, String iconMedium, String iconLarge, String color, Map<String,? extends Parameter<ParameterHelper.ParameterType>> parameters, Map<String,? extends ParameterCheckerDescriptor> parameterCheckers, String pluginName)
id - The unique identifier of this credential provider modeludClass - The CredentialProvider classcpConfig - Additional configuration for CredentialProvider class. Can be empty.label - The i18n labeldescription - The i18n descriptionconnectionLabel - The i18n label for the connection screeniconGlyph - The CSS class for glyph iconiconDecorator - The CSS class for glyph decorator iconiconSmall - The path of the small icon resourceiconMedium - The path of the medium icon resourceiconLarge - The path of the large icon resourcecolor - The string representation of the color which will be used for the button in the connection screenparameters - The parametersparameterCheckers - the parameter checkerspluginName - The plugin's name of declaration (for debug purpose)public String getId()
CredentialProviderModelgetId in interface CredentialProviderModelpublic I18nizableText getLabel()
CredentialProviderModelgetLabel in interface CredentialProviderModelpublic I18nizableText getDescription()
CredentialProviderModelgetDescription in interface CredentialProviderModelpublic I18nizableText getConnectionLabel()
CredentialProviderModelgetConnectionLabel in interface CredentialProviderModelpublic String getIconGlyph()
CredentialProviderModelgetIconGlyph in interface CredentialProviderModelpublic String getIconDecorator()
CredentialProviderModelgetIconDecorator in interface CredentialProviderModelpublic String getIconSmall()
CredentialProviderModelgetIconSmall in interface CredentialProviderModelpublic String getIconMedium()
CredentialProviderModelgetIconMedium in interface CredentialProviderModelpublic String getIconLarge()
CredentialProviderModelgetIconLarge in interface CredentialProviderModelpublic String getColor()
CredentialProviderModelgetColor in interface CredentialProviderModelpublic Map<String,? extends Parameter<ParameterHelper.ParameterType>> getParameters()
CredentialProviderModelgetParameters in interface CredentialProviderModelpublic Map<String,? extends ParameterCheckerDescriptor> getParameterCheckers()
CredentialProviderModelgetParameterCheckers in interface CredentialProviderModelpublic String getPluginName()
CredentialProviderModelgetPluginName in interface CredentialProviderModelpublic Class<CredentialProvider> getCredentialProviderClass()
CredentialProviderModelgetCredentialProviderClass in interface CredentialProviderModelpublic Configuration getCredentialProviderConfiguration()
CredentialProviderModelCredentialProvidergetCredentialProviderConfiguration in interface CredentialProviderModel