public class JSONLaunchParameter
extends org.gcube.vremanagement.executor.api.types.LaunchParameter
| Modifier and Type | Field and Description |
|---|---|
static String |
INPUTS |
static String |
PLUGIN_CAPABILITIES |
static String |
PLUGIN_NAME |
static String |
SCHEDULING |
protected String |
scope |
static String |
SCOPE |
static String |
USED_BY |
protected String |
usedBy
Contains the GCOREEndpoint (aka Running Instance) ID
|
| Constructor and Description |
|---|
JSONLaunchParameter(org.json.JSONObject jsonObject) |
JSONLaunchParameter(org.gcube.vremanagement.executor.api.types.LaunchParameter parameter) |
JSONLaunchParameter(String pluginName,
Map<String,Object> inputs) |
JSONLaunchParameter(String pluginName,
Map<String,Object> inputs,
org.gcube.vremanagement.executor.api.types.Scheduling scheduling) |
JSONLaunchParameter(String pluginName,
Map<String,String> pluginCapabilities,
Map<String,Object> inputs) |
JSONLaunchParameter(String pluginName,
Map<String,String> pluginCapabilities,
Map<String,Object> inputs,
org.gcube.vremanagement.executor.api.types.Scheduling scheduling) |
| Modifier and Type | Method and Description |
|---|---|
org.gcube.vremanagement.executor.configuration.jsonbased.JSONScheduling |
getScheduling() |
String |
getScope() |
String |
getUsedBy() |
void |
setScheduling(org.gcube.vremanagement.executor.configuration.jsonbased.JSONScheduling scheduling) |
void |
setScope(String scope) |
void |
setUsedBy(String usedBy) |
org.json.JSONObject |
toJSON() |
String |
toString() |
public static final String PLUGIN_NAME
public static final String PLUGIN_CAPABILITIES
public static final String INPUTS
public static final String SCHEDULING
public static final String USED_BY
public static final String SCOPE
protected String usedBy
protected String scope
public JSONLaunchParameter(String pluginName, Map<String,String> pluginCapabilities, Map<String,Object> inputs)
public JSONLaunchParameter(String pluginName, Map<String,Object> inputs, org.gcube.vremanagement.executor.api.types.Scheduling scheduling) throws ParseException
ParseExceptionpublic JSONLaunchParameter(String pluginName, Map<String,String> pluginCapabilities, Map<String,Object> inputs, org.gcube.vremanagement.executor.api.types.Scheduling scheduling) throws ParseException
ParseExceptionpublic JSONLaunchParameter(org.gcube.vremanagement.executor.api.types.LaunchParameter parameter)
throws ParseException
ParseExceptionpublic JSONLaunchParameter(org.json.JSONObject jsonObject)
throws org.json.JSONException,
ParseException,
ScopeNotMatchException
org.json.JSONExceptionParseExceptionScopeNotMatchExceptionpublic org.gcube.vremanagement.executor.configuration.jsonbased.JSONScheduling getScheduling()
getScheduling in class org.gcube.vremanagement.executor.api.types.LaunchParameterpublic void setScheduling(org.gcube.vremanagement.executor.configuration.jsonbased.JSONScheduling scheduling)
scheduling - the scheduling to setpublic org.json.JSONObject toJSON()
throws org.json.JSONException
org.json.JSONExceptionpublic String toString()
toString in class org.gcube.vremanagement.executor.api.types.LaunchParameterpublic String getUsedBy()
public void setUsedBy(String usedBy)
usedBy - the usedBy to setpublic String getScope()
public void setScope(String scope)
scope - the scope to setCopyright © 2016. All Rights Reserved.