public final class DistributerDef
extends org.apache.tools.ant.types.DataType
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
hosts
hosts.
|
private java.lang.String |
ifCond
if property.
|
private java.util.Vector |
maps
local to remote file name maps.
|
private DistributerProtocolEnum |
protocol
Protocol.
|
private int |
tcpCork
Not sure what this is.
|
private java.lang.String |
unlessCond
unless property.
|
private java.lang.String |
user
user name.
|
Constructor and Description |
---|
DistributerDef()
Constructor.
|
Modifier and Type | Method and 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, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, tooManyAttributes, toString
private java.lang.String ifCond
private java.lang.String unlessCond
private java.lang.String hosts
private DistributerProtocolEnum protocol
private int tcpCork
private java.lang.String user
private final java.util.Vector maps
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 name