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 ItemCheckerDescriptor> |
_parameterCheckers |
private Map<String,? extends ElementDefinition> |
_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 ElementDefinition> parameters,
Map<String,? extends ItemCheckerDescriptor> 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 ItemCheckerDescriptor> |
getParameterCheckers()
Get the configuration parameter checkers
|
Map<String,? extends ElementDefinition> |
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 ElementDefinition> _parameters
private Map<String,? extends ItemCheckerDescriptor> _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 ElementDefinition> parameters, Map<String,? extends ItemCheckerDescriptor> 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()
CredentialProviderModel
getId
in interface CredentialProviderModel
public I18nizableText getLabel()
CredentialProviderModel
getLabel
in interface CredentialProviderModel
public I18nizableText getDescription()
CredentialProviderModel
getDescription
in interface CredentialProviderModel
public I18nizableText getConnectionLabel()
CredentialProviderModel
getConnectionLabel
in interface CredentialProviderModel
public String getIconGlyph()
CredentialProviderModel
getIconGlyph
in interface CredentialProviderModel
public String getIconDecorator()
CredentialProviderModel
getIconDecorator
in interface CredentialProviderModel
public String getIconSmall()
CredentialProviderModel
getIconSmall
in interface CredentialProviderModel
public String getIconMedium()
CredentialProviderModel
getIconMedium
in interface CredentialProviderModel
public String getIconLarge()
CredentialProviderModel
getIconLarge
in interface CredentialProviderModel
public String getColor()
CredentialProviderModel
getColor
in interface CredentialProviderModel
public Map<String,? extends ElementDefinition> getParameters()
CredentialProviderModel
getParameters
in interface CredentialProviderModel
public Map<String,? extends ItemCheckerDescriptor> getParameterCheckers()
CredentialProviderModel
getParameterCheckers
in interface CredentialProviderModel
public String getPluginName()
CredentialProviderModel
getPluginName
in interface CredentialProviderModel
public Class<CredentialProvider> getCredentialProviderClass()
CredentialProviderModel
getCredentialProviderClass
in interface CredentialProviderModel
public Configuration getCredentialProviderConfiguration()
CredentialProviderModel
CredentialProvider
getCredentialProviderConfiguration
in interface CredentialProviderModel