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

io.nflow.rest.v1.msg.ArchiveRequest Maven / Gradle / Ivy

There is a newer version: 9.0.0
Show newest version
package io.nflow.rest.v1.msg;

import javax.validation.constraints.NotNull;

import org.joda.time.DateTime;

import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import io.nflow.engine.model.ModelObject;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(description = "Request to start archiving process")
@SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD", justification = "jackson reads dto fields")
public class ArchiveRequest extends ModelObject {

  @NotNull
  @ApiModelProperty(value = "Passive workflow instances whose modified time is before this will be archived.", required = true)
  public DateTime olderThan;

  @ApiModelProperty("Number of workflow hierarchies to archive in a single transaction.")
  public int batchSize = 10;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy