Renamed variable
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/vre-management/smart-executor-api@117720 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
ca7f40069e
commit
fa434505fd
|
@ -21,7 +21,7 @@ import org.gcube.vremanagement.executor.api.types.adapter.MapAdapter;
|
|||
public class LaunchParameter {
|
||||
|
||||
@XmlElement
|
||||
private String name;
|
||||
private String pluginName;
|
||||
|
||||
@XmlJavaTypeAdapter(MapAdapter.class)
|
||||
private Map<String, Object> inputs;
|
||||
|
@ -33,11 +33,11 @@ public class LaunchParameter {
|
|||
private LaunchParameter(){}
|
||||
|
||||
/**
|
||||
* @param name
|
||||
* @param pluginName
|
||||
* @param inputs
|
||||
*/
|
||||
public LaunchParameter(String name, Map<String, Object> inputs) {
|
||||
this.name = name;
|
||||
public LaunchParameter(String pluginName, Map<String, Object> inputs) {
|
||||
this.pluginName = pluginName;
|
||||
this.inputs = inputs;
|
||||
}
|
||||
|
||||
|
@ -46,8 +46,8 @@ public class LaunchParameter {
|
|||
* @param inputs
|
||||
* @param scheduling
|
||||
*/
|
||||
public LaunchParameter(String name, Map<String, Object> inputs, Scheduling scheduling) {
|
||||
this.name = name;
|
||||
public LaunchParameter(String pluginName, Map<String, Object> inputs, Scheduling scheduling) {
|
||||
this.pluginName = pluginName;
|
||||
this.inputs = inputs;
|
||||
this.scheduling = scheduling;
|
||||
}
|
||||
|
@ -55,8 +55,16 @@ public class LaunchParameter {
|
|||
/**
|
||||
* @return the name
|
||||
*/
|
||||
@Deprecated
|
||||
public String getName() {
|
||||
return name;
|
||||
return getPluginName();
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the name
|
||||
*/
|
||||
public String getPluginName() {
|
||||
return pluginName;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue