All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.ravendb.client.documents.operations.revisions.RevisionsCollectionConfiguration Maven / Gradle / Ivy

There is a newer version: 6.0.1
Show newest version
package net.ravendb.client.documents.operations.revisions;

import java.time.Duration;

public class RevisionsCollectionConfiguration {
    private Long minimumRevisionsToKeep;

    private Duration minimumRevisionAgeToKeep;

    private boolean disabled;

    private boolean purgeOnDelete;

    private Long maximumRevisionsToDeleteUponDocumentUpdate;

    public Long getMinimumRevisionsToKeep() {
        return minimumRevisionsToKeep;
    }

    public void setMinimumRevisionsToKeep(Long minimumRevisionsToKeep) {
        this.minimumRevisionsToKeep = minimumRevisionsToKeep;
    }

    public Duration getMinimumRevisionAgeToKeep() {
        return minimumRevisionAgeToKeep;
    }

    public void setMinimumRevisionAgeToKeep(Duration minimumRevisionAgeToKeep) {
        this.minimumRevisionAgeToKeep = minimumRevisionAgeToKeep;
    }

    public boolean isDisabled() {
        return disabled;
    }

    public void setDisabled(boolean disabled) {
        this.disabled = disabled;
    }

    public boolean isPurgeOnDelete() {
        return purgeOnDelete;
    }

    public void setPurgeOnDelete(boolean purgeOnDelete) {
        this.purgeOnDelete = purgeOnDelete;
    }

    public Long getMaximumRevisionsToDeleteUponDocumentUpdate() {
        return maximumRevisionsToDeleteUponDocumentUpdate;
    }

    public void setMaximumRevisionsToDeleteUponDocumentUpdate(Long maximumRevisionsToDeleteUponDocumentUpdate) {
        this.maximumRevisionsToDeleteUponDocumentUpdate = maximumRevisionsToDeleteUponDocumentUpdate;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy