/**
* 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://www.dspace.org/license/
*/
package org.dspace.app.webui.util;
import org.dspace.core.ConfigurationManager;
/**
*
* @author Keiji Suzuki
*/
public class CurateTaskResult
{
/** the type of curation: "perform" or "queue" */
private String type;
/** the task identifier*/
private String task;
/** the handle of the dspace-object */
private String handle;
/** the status string */
private String status;
/** the result string */
private String result;
/** Is the curation success? */
private boolean isSuccess = false;
public CurateTaskResult(String type, String task, String handle, String status, String result, boolean isSuccess)
{
this.type = type;
this.task = task;
this.handle = handle;
this.status = status;
this.result = result;
this.isSuccess = isSuccess;
}
public String getType()
{
return type;
}
public String getTask()
{
return task;
}
public String getStatus()
{
return status;
}
public String getResult()
{
return result;
}
public String getHandle()
{
return handle;
}
public boolean isSuccess()
{
return isSuccess;
}
}