Exposes the useHostHarvester flag of an Agent.
This commit is contained in:
parent
8d96b29382
commit
50e8ac2616
@ -2512,7 +2512,7 @@ public class Agent
|
|||||||
* @return <tt>true</tt> if the dynamic host harvester should be used and
|
* @return <tt>true</tt> if the dynamic host harvester should be used and
|
||||||
* <tt>false</tt> otherwise.
|
* <tt>false</tt> otherwise.
|
||||||
*/
|
*/
|
||||||
private boolean useHostHarvester()
|
public boolean useHostHarvester()
|
||||||
{
|
{
|
||||||
if (useHostHarvester == null)
|
if (useHostHarvester == null)
|
||||||
{
|
{
|
||||||
@ -2524,4 +2524,14 @@ public class Agent
|
|||||||
|
|
||||||
return useHostHarvester;
|
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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user