Constructor and Description |
---|
CompoundVariable() |
CompoundVariable(String parameters) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
String |
execute() |
String |
execute(SampleResult previousResult,
Sampler currentSampler)
Given the previous SampleResult and the current Sampler, return a string
to use as a replacement value for the function call.
|
List<String> |
getArgumentDesc()
Return a list of strings briefly describing each parameter your function
takes.
|
CompoundVariable |
getFunction() |
String |
getRawParameters()
Allows the retrieval of the original String prior to it being compiled.
|
String |
getReferenceKey()
Return the name of your function.
|
boolean |
hasFunction() |
void |
setParameters(Collection<CompoundVariable> parameters)
A collection of the parameters used to configure your function.
|
void |
setParameters(String parameters) |
public CompoundVariable()
public CompoundVariable(String parameters)
public String execute()
public String getRawParameters()
public String execute(SampleResult previousResult, Sampler currentSampler)
public CompoundVariable getFunction()
public List<String> getArgumentDesc()
getArgumentDesc
in interface Function
public void clear()
public void setParameters(String parameters) throws InvalidVariableException
InvalidVariableException
public boolean hasFunction()
public String getReferenceKey()
getReferenceKey
in interface Function
public void setParameters(Collection<CompoundVariable> parameters) throws InvalidVariableException
setParameters
in interface Function
InvalidVariableException
Copyright © 1998-2012 Apache Software Foundation. All Rights Reserved.