public class SetAgentProperties extends XMLRequest
Constructor and Description |
---|
SetAgentProperties(GetAgentProperties gap)
creates new instance of SetAgentProperties.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isDirty()
Returns true if the object data has changed
|
void |
setCheckInterval(int checkInterval)
Sets the check interval for this Agent.
|
void |
setHostTraceOptions(HostTraceOptions opt)
Set the HostTraceOptions to the SetAgentProperties request prior to sending it to the server.
|
void |
setMaxFileTransfer(int maxFileTransfer)
Sets the maximum number of file transfer for this Agent.
|
void |
setMaxJobs(int maxJobs)
Sets the maximum number of jobs for this Agent.
|
void |
setMaxReportBlocks(int maxReportBlocks)
Sets the maximum number of report blocks for this Agent.
|
getAllMessageBoxes, getMessageBox, getRequestID, handleResponse, send
public SetAgentProperties(GetAgentProperties gap)
gap
- GetAgentPropertiespublic void setHostTraceOptions(HostTraceOptions opt)
opt
- Optionspublic boolean isDirty()
public void setMaxJobs(int maxJobs)
-1
can be used to set max jobs to unlimited.maxJobs
- Positive Integer between 0 and 100000 or -1 for unlimitedpublic void setMaxFileTransfer(int maxFileTransfer)
-1
can be used to set max file transfer to unlimited.maxFileTransfer
- Positive Integer between 0 and 100000 or -1 for unlimitedpublic void setMaxReportBlocks(int maxReportBlocks)
-1
can be used to set max report blocks transfer to unlimited.maxReportBlocks
- Positive Integer between 0 and 10000 or -1 for unlimitedpublic void setCheckInterval(int checkInterval)
-1
can be used to set check interval to unlimited.checkInterval
- Positive Integer between 0 and 32767 or -1 for unlimited