public final class DistributerDef
extends org.apache.tools.ant.types.DataType
Constructor and Description |
---|
DistributerDef()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
DistributerMap |
createMap()
Local to remote filename maps.
|
void |
execute()
Required by documentation generator.
|
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(String value)
Sets hosts.
|
void |
setId(String id)
Sets an id that can be used to reference this element.
|
void |
setIf(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(String propName)
Set the property name for the 'unless' condition.
|
void |
setUser(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
public DistributerMap createMap()
public void execute()
public String getHosts()
public DistributerProtocolEnum getProtocol()
public int getTcpcork()
public boolean isActive()
public void setHosts(String value)
value
- new valuepublic void setId(String id)
id
- idpublic void setIf(String propName)
propName
- property namepublic void setProtocol(DistributerProtocolEnum value)
value
- new valuepublic void setRefid(org.apache.tools.ant.types.Reference r)
setRefid
in class org.apache.tools.ant.types.DataType
r
- reference namepublic void setTcpcork(int value)
value
- new valuepublic void setUnless(String propName)
propName
- name of propertypublic void setUser(String value)
value
- user nameCopyright © 2005-2016 NAR Maven Plugin developers. All Rights Reserved.