workspace-task-executor-lib.../src/main/java/org/gcube/common/workspacetaskexecutor/TaskConfiguration.java

62 lines
842 B
Java

/**
*
*/
package org.gcube.common.workspacetaskexecutor;
import java.util.Map;
import org.apache.http.HttpRequest;
/**
* The Interface DoTaskConfiguration.
*
* @author Francesco Mangiacrapa francesco.mangiacrapa@isti.cnr.it
* Apr 26, 2018
*/
public interface TaskConfiguration {
/**
* Gets the task id.
*
* @return the task id
*/
String getTaskId();
/**
* Gets the task description.
*
* @return the task description
*/
String getTaskDescription();
/**
* Gets the map parameters.
*
* @return the map parameters
*/
Map<String, String> getMapParameters();
/**
* Gets the workspace item id where execute the Task
*
* @return the workspace item id
*/
String getWorkspaceItemId();
/**
* Gets the http request.
*
* @return the http request
*/
HttpRequest getHttpRequest();
}