public abstract class BaseCall
extends org.gcube.common.core.utils.calls.WSCall
| Modifier and Type | Field and Description |
|---|---|
protected List<org.gcube.common.core.plugins.GCUBEPluginContext.TypeMapping> |
mappings
The type mappings required by the task.
|
protected Map<String,String> |
properties
Name and value of properties to use as filter for task discovery.
|
protected String |
taskName
The name of the task to launch
|
| Modifier | Constructor and Description |
|---|---|
protected |
BaseCall(org.gcube.common.core.scope.GCUBEScope scope,
org.gcube.common.core.security.GCUBESecurityManager... securityManager) |
protected |
BaseCall(String taskName,
org.gcube.common.core.scope.GCUBEScope scope,
org.gcube.common.core.security.GCUBESecurityManager... securityManager) |
| Modifier and Type | Method and Description |
|---|---|
org.gcube.common.core.informationsystem.client.queries.WSResourceQuery |
getQuery() |
protected String |
getServiceClass() |
protected String |
getServiceName() |
void |
setQuery(org.gcube.common.core.informationsystem.client.queries.WSResourceQuery query) |
void |
setTaskProperty(String name,
String value)
Sets the name and value of a task property to use in the query for the best-effort strategy..
|
protected String taskName
protected Map<String,String> properties
protected List<org.gcube.common.core.plugins.GCUBEPluginContext.TypeMapping> mappings
protected BaseCall(String taskName, org.gcube.common.core.scope.GCUBEScope scope, org.gcube.common.core.security.GCUBESecurityManager... securityManager) throws Exception
Exceptionprotected String getServiceClass()
getServiceClass in class org.gcube.common.core.utils.calls.GCUBECall<org.gcube.common.core.informationsystem.client.queries.WSResourceQuery>protected String getServiceName()
getServiceName in class org.gcube.common.core.utils.calls.GCUBECall<org.gcube.common.core.informationsystem.client.queries.WSResourceQuery>public void setTaskProperty(String name, String value)
name - the name.public void setQuery(org.gcube.common.core.informationsystem.client.queries.WSResourceQuery query)
setQuery in class org.gcube.common.core.utils.calls.GCUBECall<org.gcube.common.core.informationsystem.client.queries.WSResourceQuery>public org.gcube.common.core.informationsystem.client.queries.WSResourceQuery getQuery()
getQuery in class org.gcube.common.core.utils.calls.GCUBECall<org.gcube.common.core.informationsystem.client.queries.WSResourceQuery>Copyright © 2015. All Rights Reserved.