public class GroovySender extends CommandSender
CommandSender
and
executes the groovy script via groovy command with groovy AbstractSender.target
passed as an argument.CommandSender.MessageFrom
Constructor and Description |
---|
GroovySender() |
Modifier and Type | Method and Description |
---|---|
void |
doInit(Properties messageAttributes) |
String |
getClasspath()
Gets a classpath used by the groovy command.
|
String |
getGroovyExecutable()
Gets the value of groovyExecutable property.
|
GroovySender |
setClasspath(String classpath)
Sets a classpath used by the groovy command.
|
GroovySender |
setGroovyExecutable(String groovyExecutable)
Sets the value of groovyExecutable property.
|
doClose, doSend, getEnvironmentVariables, getMessageFrom, postSend, preSend, setEnvironmentVariables, setMessageFrom
close, getTarget, getTarget, init, isKeepConnection, safeGetTarget, send, setKeepConnection, setTarget
public void doInit(Properties messageAttributes) throws PerfCakeException
doInit
in class CommandSender
PerfCakeException
public String getGroovyExecutable()
public GroovySender setGroovyExecutable(String groovyExecutable)
groovyExecutable
- The groovyExecutable to set.public String getClasspath()
public GroovySender setClasspath(String classpath)
classpath
- Classpath for groovy command.Copyright © 2010–2017 PerfCake Community. All rights reserved.