Package io.ocfl.core.extension
Interface OcflExtensionConfig
- All Known Implementing Classes:
FlatLayoutConfig
,FlatOmitPrefixLayoutConfig
,HashedNTupleIdEncapsulationLayoutConfig
,HashedNTupleLayoutConfig
,NTupleOmitPrefixStorageLayoutConfig
public interface OcflExtensionConfig
Represents deserialized extension configuration. Implementations MUST have a no-arg constructor that defaults all
fields to their defaults as defined in their OCFL extension spec.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the name of the extension the config is for.boolean
Indicates if the extension defines parameters.
-
Method Details
-
getExtensionName
String getExtensionName()Returns the name of the extension the config is for.- Returns:
- extension name
-
hasParameters
boolean hasParameters()Indicates if the extension defines parameters.- Returns:
- true if the extension defines parameters; false otherwise
-