|
JTR 5.0 API Documentation | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.apache.tools.ant.taskdefs.Java
jtr.ant.JtrRun
jtr.ant.JtrPassive
public class JtrPassive
Ant task for running a JTR passive node. Being derived from the Java
Ant-task, JtrPassive
accepts all the attributes and sub-elements the former
task accepts. Moreover it also accepts the following ad-hoc attributes:
host
, the name or IP address of the host running the JTR node (required only in EDiT-mode)
registryPort
, the TCP port the RMI-registry must be attached to (required only in EDiT-mode)
testGatewayPort
, the TCP port the passive-node component in charge of receiving tests must be attached to (required only in EDiT-mode)
policy
, a standard Java policy-file (compulsory)
log4j
, the relative path to the Log4J configuration file (compulsory)
Field Summary | |
---|---|
static java.lang.String |
PASSIVE_NODE_MAIN_CLASS
|
Fields inherited from class jtr.ant.JtrRun |
---|
ACTIVE_NODE_MAIN_CLASS |
Fields inherited from class org.apache.tools.ant.taskdefs.Java |
---|
redirector, redirectorElement |
Fields inherited from class org.apache.tools.ant.Task |
---|
target, taskName, taskType, wrapper |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
---|
description, location, project |
Constructor Summary | |
---|---|
JtrPassive()
|
Method Summary | |
---|---|
protected void |
readAdHocJtrJvmArgs(java.lang.StringBuilder params)
Read specific JVM args. |
protected void |
setMainClass()
Set the main class. |
void |
setTestGatewayPort(java.lang.String port)
Set the TCP port for receiving test configurations. |
Methods inherited from class jtr.ant.JtrRun |
---|
execute, getLog4j, readCommonJtrJvmArgs, setClassLoaderPort, setHost, setJtr, setLog4j, setOutcomeCollectorPort, setPolicy, setRegistryPort |
Methods inherited from class org.apache.tools.ant.taskdefs.Java |
---|
addAssertions, addConfiguredRedirector, addEnv, addSysproperty, addSyspropertyset, clearArgs, createArg, createBootclasspath, createClasspath, createJvmarg, createPermissions, createWatchdog, executeJava, getCommandLine, getSysProperties, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, maybeSetResultPropertyValue, run, setAppend, setArgs, setClassname, setClasspath, setClasspathRef, setCloneVm, setDir, setError, setErrorProperty, setFailonerror, setFork, setInput, setInputString, setJar, setJvm, setJvmargs, setJVMVersion, setLogError, setMaxmemory, setNewenvironment, setOutput, setOutputproperty, setResultProperty, setSpawn, setTimeout, setupRedirector |
Methods inherited from class org.apache.tools.ant.Task |
---|
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
---|
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String PASSIVE_NODE_MAIN_CLASS
Constructor Detail |
---|
public JtrPassive()
Method Detail |
---|
protected void readAdHocJtrJvmArgs(java.lang.StringBuilder params)
readAdHocJtrJvmArgs
in class JtrRun
params
- The JVM argsprotected void setMainClass()
setMainClass
in class JtrRun
public void setTestGatewayPort(java.lang.String port)
port
- The port to set
|
The JTR Project is licensed under GPL version 2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |