
com.eventstore.dbclient.DeleteStreamOptions Maven / Gradle / Ivy
package com.eventstore.dbclient;
public class DeleteStreamOptions extends OptionsWithExpectedRevisionBase {
private boolean softDelete;
private DeleteStreamOptions() {
this.softDelete = true;
}
public static DeleteStreamOptions get() {
return new DeleteStreamOptions();
}
public boolean isSoftDelete() {
return this.softDelete;
}
public DeleteStreamOptions softDelete() {
this.softDelete = true;
return this;
}
public DeleteStreamOptions hardDelete() {
this.softDelete = false;
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy