public class LoadBehaviour extends java.lang.Object implements AgentAction
Behaviour
whose
code is not included in the classpath of the JVM where the agent that is
going to execute the behaviour lives.LoaderBehaviour
,
Serialized FormConstructor and Description |
---|
LoadBehaviour() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getClassName() |
byte[] |
getCode() |
List |
getParameters() |
byte[] |
getZip() |
void |
setClassName(java.lang.String className)
Sets the name of the class of the behaviour to load
|
void |
setCode(byte[] code)
Sets the code of the class of the behaviour to load.
|
void |
setParameters(List parameters)
Set the list of parameters to be passed to the behaviour.
|
void |
setZip(byte[] zip)
Sets the code of the behaviour to load as the content of a zip
file.
|
public void setClassName(java.lang.String className)
public java.lang.String getClassName()
public void setCode(byte[] code)
code
must be filled with the content of the class
file of the behaviour to load.
If the behaviour requires other classes, the setZip()
method must be used instead.public byte[] getCode()
public void setZip(byte[] zip)
public byte[] getZip()
public void setParameters(List parameters)
DataStore
public List getParameters()