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

org.duracloud.snapshot.SnapshotConstants Maven / Gradle / Ivy

There is a newer version: 8.1.0
Show newest version
/*
 * The contents of this file are subject to the license and copyright
 * detailed in the LICENSE and NOTICE files at the root of the source
 * tree and available online at
 *
 *     http://duracloud.org/license/
 */
package org.duracloud.snapshot;

/**
 * @author Bill Branan
 *         Date: 8/8/14
 */
public class SnapshotConstants {

    public static final String CREATE_SNAPSHOT_TASK_NAME = "create-snapshot";
    public static final String COMPLETE_SNAPSHOT_CANCEL_TASK_NAME = "complete-cancel-snapshot";
    public static final String CLEANUP_SNAPSHOT_TASK_NAME = "cleanup-snapshot";
    public static final String COMPLETE_SNAPSHOT_TASK_NAME = "complete-snapshot";
    public static final String GET_SNAPSHOTS_TASK_NAME = "get-snapshots";
    public static final String GET_SNAPSHOT_TASK_NAME = "get-snapshot";
    public static final String GET_SNAPSHOT_CONTENTS_TASK_NAME = "get-snapshot-contents";
    public static final String GET_SNAPSHOT_HISTORY_TASK_NAME = "get-snapshot-history";

    public static final String RESTART_SNAPSHOT_TASK_NAME = "restart-snapshot";
    public static final String RESTORE_SNAPSHOT_TASK_NAME = "restore-snapshot";
    public static final String REQUEST_RESTORE_SNAPSHOT_TASK_NAME = "request-restore-snapshot";
    public static final String COMPLETE_RESTORE_TASK_NAME = "complete-restore";
    public static final String GET_RESTORE_TASK_NAME = "get-restore";

    public static final int DEFAULT_CONTENT_PAGE_NUMBER = 0;
    public static final int MIN_CONTENT_PAGE_SIZE = 1;
    public static final int MAX_CONTENT_PAGE_SIZE = 1000;
    
    public static final int DEFAULT_HISTORY_PAGE_NUMBER = 0;
    public static final int MIN_HISTORY_PAGE_SIZE = 1;
    public static final int MAX_HISTORY_PAGE_SIZE = 1000;

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy