Uses of Enum Class
org.fcrepo.storage.ocfl.CommitType
Packages that use CommitType
-
Uses of CommitType in org.fcrepo.storage.ocfl
Methods in org.fcrepo.storage.ocfl that return CommitTypeModifier and TypeMethodDescriptionstatic CommitTypeReturns the enum constant of this class with the specified name.static CommitType[]CommitType.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.fcrepo.storage.ocfl with parameters of type CommitTypeModifier and TypeMethodDescriptionvoidDefaultOcflObjectSession.commitType(CommitType commitType) voidOcflObjectSession.commitType(CommitType commitType) Sets the commit behavior -- create a new version or update the mutable HEAD.voidDefaultOcflObjectSessionFactory.setDefaultCommitType(CommitType defaultCommitType) Allows the default CommitType to be changed at run time -- useful for testing.Constructors in org.fcrepo.storage.ocfl with parameters of type CommitTypeModifierConstructorDescriptionDefaultOcflObjectSession(String sessionId, io.ocfl.api.MutableOcflRepository ocflRepo, String ocflObjectId, Path objectStaging, com.fasterxml.jackson.databind.ObjectReader headerReader, com.fasterxml.jackson.databind.ObjectWriter headerWriter, CommitType commitType, Cache<String, ResourceHeaders> headersCache, Cache<String, String> rootIdCache, HeadersValidator headersValidator, boolean useUnsafeWrite) DefaultOcflObjectSessionFactory(io.ocfl.api.MutableOcflRepository ocflRepo, Path stagingRoot, com.fasterxml.jackson.databind.ObjectMapper objectMapper, Cache<String, ResourceHeaders> headersCache, Cache<String, String> rootIdCache, CommitType defaultCommitType, String defaultVersionMessage, String defaultVersionUserName, String defaultVersionUserAddress) Creates a new DefaultOcflObjectSessionFactory