Class ResolverDataConnectorDependency
- java.lang.Object
-
- net.shibboleth.idp.attribute.resolver.ResolverDataConnectorDependency
-
public final class ResolverDataConnectorDependency extends Object
A Dependency that references to an Data Connector.
-
-
Field Summary
Fields Modifier and Type Field Description private booleanallAttributesWhether to depend on all the connector's attributes.private Set<String>attributeNamesNames of attributes to import via dependency.private StringdependencyPluginIdID of the plugin that will produce the attribute.
-
Constructor Summary
Constructors Constructor Description ResolverDataConnectorDependency(String pluginId)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)Collection<String>getAttributeNames()Get the names of the connector's attributes that make up the dependency.StringgetDependencyPluginId()Gets the ID of the plugin that will produce the attribute.inthashCode()booleanisAllAttributes()Get whether all the connector's attributes are part of the dependency.voidsetAllAttributes(boolean all)Set whether all the connector's attributes are part of the dependency.voidsetAttributeNames(Collection<String> names)Set the names of the connector's attributes that make up the dependency.
-
-
-
Constructor Detail
-
ResolverDataConnectorDependency
public ResolverDataConnectorDependency(@ParameterName(name="pluginId") String pluginId)
Constructor.- Parameters:
pluginId- ID of dependency
-
-
Method Detail
-
getDependencyPluginId
@Nonnull public String getDependencyPluginId()
Gets the ID of the plugin that will produce the attribute.- Returns:
- ID of the plugin that will produce the attribute, never null or empty
-
isAllAttributes
public boolean isAllAttributes()
Get whether all the connector's attributes are part of the dependency.- Returns:
- whether all the connector's attributes are part of the dependency
-
setAllAttributes
public void setAllAttributes(boolean all)
Set whether all the connector's attributes are part of the dependency.- Parameters:
all- flag to set
-
getAttributeNames
@Nonnull @NonnullElements public Collection<String> getAttributeNames()
Get the names of the connector's attributes that make up the dependency.- Returns:
- attribute names
-
setAttributeNames
public void setAttributeNames(@Nonnull @NotEmpty Collection<String> names)
Set the names of the connector's attributes that make up the dependency.- Parameters:
names- attribute names
-
-