Show Result.java syntax highlighted
/*
* Copyright (c) 2005
* Helsinki Institute of Physics
* see LICENSE file for details
*
* Result.java
* Created on 1.8.2005
*/
package fi.hip.gb.portlet.results;
import java.util.List;
/**
* Represents a result of the job from the corresponding grid service
*
* @author Antti Ahvenlampi
* @version $Id: Result.java 476 2005-08-15 15:20:12Z ahvenlam $
*/
public interface Result {
/**
* @return id of the job
*/
public Long getJobID();
/**
* @return name of the job
*/
public String getJobName();
/**
* @return execution state of the job
*/
public String getState();
/**
* @return time when execution has started
*/
public String getStartTime();
/**
* @return time when execution was finished
*/
public String getEndTime();
/**
* @return total execution time
*/
public String getExecutionTime();
/**
* @return how many parts has been executed already / total number of parts. example: 8 / 10
*/
public String getParts();
/**
* @return list of the result files
*/
public List getResultFiles();
/**
* Removes result from the server
*
* @throws ResultException
*/
public void remove() throws ResultException;
}
See more files for this project here