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

org.duracloud.common.queue.task.NoopTask 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.common.queue.task;

import java.util.Map;

/**
 * @author Daniel Bernstein
 *	       Date: Oct 24, 2013
 */
public class NoopTask extends TypedTask {
    @Override
    public void readTask(Task task) {
        super.readTask(task);
        Map props = task.getProperties();
    }

    @Override
    public Task writeTask() {
        Task task = super.writeTask();
        task.setType(Task.Type.NOOP);
        return task;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy