com.taskadapter.redmineapi.internal.comm.ContentHandler Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of redmine-java-api Show documentation
Show all versions of redmine-java-api Show documentation
Free open-source Java API for Redmine and Chiliproject bug/task management systems.
This project was originally a part of Task Adapter application (http://www.taskadapter.com)
and then was open-sourced.
The newest version!
package com.taskadapter.redmineapi.internal.comm;
import com.taskadapter.redmineapi.RedmineException;
/**
* Redmine content handler.
*
* @author maxkar
*
*/
public interface ContentHandler {
/**
* Consumes content of a specified type and returns a specified result.
*
* @param content
* content to process.
* @return processed content.
* @throws RedmineException
* if something goes wrong.
*/
R processContent(K content) throws RedmineException;
}