public final class DistributerDef
extends org.apache.tools.ant.types.DataType
Constructor | Description |
---|---|
DistributerDef() |
Constructor.
|
Modifier and Type | Method | Description |
---|---|---|
DistributerMap |
createMap() |
Local to remote filename maps.
|
void |
execute() |
Required by documentation generator.
|
java.lang.String |
getHosts() |
Gets hosts.
|
DistributerProtocolEnum |
getProtocol() |
Gets protocol.
|
int |
getTcpcork() |
Gets tcp cork.
|
boolean |
isActive() |
Returns true if the if and unless conditions (if any) are
satisfied.
|
void |
setHosts(java.lang.String value) |
Sets hosts.
|
void |
setId(java.lang.String id) |
Sets an id that can be used to reference this element.
|
void |
setIf(java.lang.String propName) |
Sets the property name for the 'if' condition.
|
void |
setProtocol(DistributerProtocolEnum value) |
Sets protocol.
|
void |
setRefid(org.apache.tools.ant.types.Reference r) |
Specifies that this element should behave as if the content of the
element with the matching id attribute was inserted at this location.
|
void |
setTcpcork(int value) |
Sets TCP_CORK value.
|
void |
setUnless(java.lang.String propName) |
Set the property name for the 'unless' condition.
|
void |
setUser(java.lang.String value) |
Sets remote user name.
|
checkAttributesAllowed, checkChildrenAllowed, circularReference, clone, dieOnCircularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, tooManyAttributes, toString
public void execute()
public boolean isActive()
public void setId(java.lang.String id)
id
- idpublic void setIf(java.lang.String propName)
propName
- property namepublic void setRefid(org.apache.tools.ant.types.Reference r)
setRefid
in class org.apache.tools.ant.types.DataType
r
- reference namepublic void setUnless(java.lang.String propName)
propName
- name of propertypublic java.lang.String getHosts()
public int getTcpcork()
public DistributerProtocolEnum getProtocol()
public void setHosts(java.lang.String value)
value
- new valuepublic void setTcpcork(int value)
value
- new valuepublic void setProtocol(DistributerProtocolEnum value)
value
- new valuepublic DistributerMap createMap()
public void setUser(java.lang.String value)
value
- user nameCopyright ? 2001-2019 Ant-Contrib project. All Rights Reserved.