public class BindParametersWrapper extends Object
| Constructor and Description |
|---|
BindParametersWrapper(org.gcube.data.tm.stubs.BindParameters parameters)
Creates an instance around a
BindParameters. |
BindParametersWrapper(String plugin,
Element payload)
Creates a new instance
|
BindParametersWrapper(String plugin,
Element payload,
boolean broadcast)
Creates a new instance
|
| Modifier and Type | Method and Description |
|---|---|
Element |
getPayload()
Returns the input specific to the plugin.
|
String |
getPlugin()
Returns the name of the target plugin.
|
boolean |
isBroadcast()
Indicates whether the input is to be broadcast to other running instances.
|
void |
setBroadcast(boolean broadcast)
Indicates whether the input is to be broadcast to other running instances.
|
void |
setPayload(Element payload)
Sets the input specific to the plugin.
|
void |
setPlugin(String name)
Sets the name of the target plugin.
|
public BindParametersWrapper(String plugin, Element payload)
public BindParametersWrapper(String plugin, Element payload, boolean broadcast)
public BindParametersWrapper(org.gcube.data.tm.stubs.BindParameters parameters)
BindParameters.parameters - the parameterspublic String getPlugin()
public void setPlugin(String name) throws IllegalArgumentException
name - the nameIllegalArgumentException - if the name is nullpublic boolean isBroadcast()
true if it is, falseotherwisepublic void setBroadcast(boolean broadcast)
broadcast - true if it is, falseotherwisepublic Element getPayload()
public void setPayload(Element payload)
payload - the input.IllegalArgumentException - if the payload is nullCopyright © 2014. All Rights Reserved.