Class FormatIdentifierConfiguration
- java.lang.Object
-
- fr.gouv.vitam.common.format.identification.model.FormatIdentifierConfiguration
-
public class FormatIdentifierConfiguration extends java.lang.Object
Format Identifier Configuration : contains all the parameters to instantiate a FormatIdentifier implementation. Only the type is mandatory since it is used to choose the implementation class, all other properties are in configurationProperties.
-
-
Constructor Summary
Constructors Constructor Description FormatIdentifierConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.Object>
getConfigurationProperties()
Get the configuration propertiesFormatIdentifierType
getType()
Get the typevoid
setConfigurationProperty(java.lang.String name, java.lang.Object value)
Add a property to the configuration propertiesvoid
setType(FormatIdentifierType type)
Set the type
-
-
-
Method Detail
-
getType
public FormatIdentifierType getType()
Get the type- Returns:
- the type
-
setType
public void setType(FormatIdentifierType type)
Set the type- Parameters:
type
- the type
-
getConfigurationProperties
public java.util.Map<java.lang.String,java.lang.Object> getConfigurationProperties()
Get the configuration properties- Returns:
- map of configuration properties
-
setConfigurationProperty
public void setConfigurationProperty(java.lang.String name, java.lang.Object value)
Add a property to the configuration properties- Parameters:
name
- the property namevalue
- the property value
-
-