public class MailProtocolTestTask extends org.apache.tools.ant.Task implements Monitor
Modifier and Type | Class and Description |
---|---|
class |
MailProtocolTestTask.AddUser
Adds a user.
|
Constructor and Description |
---|
MailProtocolTestTask() |
Modifier and Type | Method and Description |
---|---|
void |
add(org.apache.tools.ant.types.ResourceCollection resources) |
MailProtocolTestTask.AddUser |
createAddUser() |
void |
debug(char character) |
void |
debug(String message) |
void |
execute() |
String |
getErrorProperty()
Gets the error property.
|
String |
getHost()
Gets the host (either name or number) against which this
test will run.
|
int |
getPort()
Gets the port against which this test will run.
|
File |
getScript()
Gets the script to execute.
|
String |
getShabang()
Gets script shabang.
|
boolean |
isQuiet()
Should progress output be suppressed?
|
boolean |
isSkip()
Should the execution be skipped?
|
void |
note(String message) |
void |
setErrorProperty(String errorProperty)
Sets the error property.
|
void |
setHost(String host)
Sets the host (either name or number) against which this
test will run.
|
void |
setPort(int port)
Sets the port aginst which this test will run.
|
void |
setQuiet(boolean quiet)
Sets whether progress output should be suppressed/
|
void |
setScript(File script)
Sets the script to execute.
|
void |
setShabang(String shabang)
Sets the script shabang.
|
void |
setSkip(boolean skip)
Sets execution skipping.
|
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
public MailProtocolTestTask()
public String getErrorProperty()
public void setErrorProperty(String errorProperty)
errorProperty
- name of the ant property to be set on error,
nul if the script should terminate on errorpublic boolean isQuiet()
public void setQuiet(boolean quiet)
quiet
- true if progress information should be suppressed,
false otherwisepublic boolean isSkip()
public void setSkip(boolean skip)
skip
- true to skip excutionpublic String getHost()
public void setHost(String host)
host
- not nullpublic int getPort()
public void setPort(int port)
port
- port numberpublic void setScript(File script)
script
- not nullpublic String getShabang()
public void setShabang(String shabang)
shabang
- script shabang,
or null for no shabang.public void execute() throws org.apache.tools.ant.BuildException
execute
in class org.apache.tools.ant.Task
org.apache.tools.ant.BuildException
public void add(org.apache.tools.ant.types.ResourceCollection resources)
public MailProtocolTestTask.AddUser createAddUser()
Copyright © 2008-2017 The Apache Software Foundation. All Rights Reserved.