Package io.jmix.webdav
Class WebdavProperties
java.lang.Object
io.jmix.webdav.WebdavProperties
@ConfigurationProperties(prefix="jmix.webdav")
@ConstructorBinding
public class WebdavProperties
extends Object
-
Constructor Summary
ConstructorDescriptionWebdavProperties
(String urlPrefix, Applications applications, long lockTimeout, boolean versioningEnabled, String nonVersioningMergePolicies, boolean autoGenerateUniqueResourceUri, String authenticationMethod, String fileStorage, boolean useDefaultExpiredLockCleanerQuartzConfiguration, String expiredLockCleaningCron, boolean useDefaultDocumentVersionsCleanerQuartzConfiguration, String documentVersionsCleaningCron, Character sqlEscapeCharacter, boolean sendDocumentEvents) -
Method Summary
Modifier and TypeMethodDescriptionlong
boolean
boolean
boolean
boolean
boolean
-
Constructor Details
-
WebdavProperties
public WebdavProperties(@DefaultValue("https://localhost:8443/webdav") String urlPrefix, @DefaultValue("{\"ms-word\":{\"name\":\"Microsoft Word\",\"protocols\":{\"writable\":\"ms-word:ofe%7Cu%7C\",\"read_only\":\"ms-word:ofv%7Cu%7C\"},\"extensions\":[\"docx\",\"doc\",\"rtf\"]},\"ms-excel\":{\"name\":\"Microsoft Excel\",\"protocols\":{\"writable\":\"ms-excel:ofe%7Cu%7C\",\"read_only\":\"ms-excel:ofv%7Cu%7C\"},\"extensions\":[\"xls\",\"xlsx\"]},\"ms-powerpoint\":{\"name\":\"Microsoft PowerPoint\",\"protocols\":{\"writable\":\"ms-powerpoint:ofe%7Cu%7C\",\"read_only\":\"ms-powerpoint:ofv%7Cu%7C\"},\"extensions\":[\"ppt\",\"pptx\"]}}") Applications applications, @DefaultValue("600000") long lockTimeout, @DefaultValue("true") boolean versioningEnabled, @DefaultValue("FastForwardMergePolicy,RebaseMergePolicy,CancelTheirMergePolicy") String nonVersioningMergePolicies, @DefaultValue("true") boolean autoGenerateUniqueResourceUri, @DefaultValue("basic") String authenticationMethod, String fileStorage, @DefaultValue("true") boolean useDefaultExpiredLockCleanerQuartzConfiguration, @DefaultValue("0 0 0/2 ? * *") String expiredLockCleaningCron, @DefaultValue("true") boolean useDefaultDocumentVersionsCleanerQuartzConfiguration, @DefaultValue("0 0 0 1 * ? *") String documentVersionsCleaningCron, @DefaultValue("\\") Character sqlEscapeCharacter, @DefaultValue("false") boolean sendDocumentEvents)
-
-
Method Details
-
getUrlPrefix
-
getApplications
-
getLockTimeout
public long getLockTimeout() -
isVersioningEnabled
public boolean isVersioningEnabled() -
getNonVersioningMergePolicies
-
isAutoGenerateUniqueResourceUri
public boolean isAutoGenerateUniqueResourceUri() -
getAuthenticationMethod
-
getFileStorage
- See Also:
-
fileStorage
-
isUseDefaultExpiredLockCleanerQuartzConfiguration
public boolean isUseDefaultExpiredLockCleanerQuartzConfiguration() -
getExpiredLockCleaningCron
-
isUseDefaultDocumentVersionsCleanerQuartzConfiguration
public boolean isUseDefaultDocumentVersionsCleanerQuartzConfiguration() -
getDocumentVersionsCleaningCron
-
getSqlEscapeCharacter
-
isSendDocumentEvents
public boolean isSendDocumentEvents()
-