org.redmine.ta.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.
package org.redmine.ta.internal.comm;
import org.redmine.ta.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;
}