public final class DistributerMap
extends org.apache.tools.ant.types.DataType
Constructor and Description |
---|
DistributerMap()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
execute()
Required by documentation generator.
|
File |
getLocal()
Gets local directory.
|
String |
getRemote()
Gets remote name for directory.
|
boolean |
isActive()
Returns true if the if and unless conditions (if any) are
satisfied.
|
void |
setHosts(String value)
Sets hosts for which this mapping is valid.
|
void |
setIf(String propName)
Sets the property name for the 'if' condition.
|
void |
setLocal(File value)
Sets local directory for base of mapping.
|
void |
setRemote(String value)
Sets remote name for directory.
|
void |
setRemoteSeparator(String value)
Sets the separator character (/ or \) for the remote system.
|
void |
setUnless(String propName)
Set the property name for the 'unless' condition.
|
String |
toRemote(String host,
File localFile)
Converts the local file name to the remote name for the same file.
|
checkAttributesAllowed, checkChildrenAllowed, circularReference, clone, dieOnCircularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, setRefid, tooManyAttributes, toString
public void execute()
public File getLocal()
public String getRemote()
public boolean isActive()
public void setHosts(String value)
value
- hostspublic void setIf(String propName)
propName
- property namepublic void setLocal(File value)
value
- valuepublic void setRemote(String value)
value
- remote name for directorypublic void setRemoteSeparator(String value)
value
- separator characterpublic void setUnless(String propName)
propName
- name of propertyCopyright © 2005-2016 NAR Maven Plugin developers. All Rights Reserved.