Exposes the useHostHarvester flag of an Agent.

This commit is contained in:
boris 2015-06-02 12:22:42 +00:00
parent 8d96b29382
commit 50e8ac2616

View File

@ -2512,7 +2512,7 @@ public class Agent
* @return <tt>true</tt> if the dynamic host harvester should be used and
* <tt>false</tt> otherwise.
*/
private boolean useHostHarvester()
public boolean useHostHarvester()
{
if (useHostHarvester == null)
{
@ -2524,4 +2524,14 @@ public class Agent
return useHostHarvester;
}
/**
* Sets the flag which indicates whether the dynamic host harvester will
* be used or not by this <tt>Agent</tt>.
* @param useHostHarvester the value to set.
*/
public void setUseHostHarvester(boolean useHostHarvester)
{
this.useHostHarvester = useHostHarvester;
}
}