Package com.uc4.api.systemoverview
Class HostTraceOptions
- java.lang.Object
-
- com.uc4.api.systemoverview.HostTraceOptions
-
public class HostTraceOptions extends java.lang.Object
HostTraceOptions acts as data interface for using applciations. It is generated by GetAgentProperties after the request was sent to the server. It can be set in SetAgentProperties prior to sending the update request to the server. It contains an Array representing the trace flags as they are set for a particular agent as well as additional parameters used in tracing.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HostTraceOptions.HostTraceFlag
HostTraceFlag ist used to represent the data for a particular trace flag such as its index.static class
HostTraceOptions.HostTraceTriggerType
Enumeration for HostTraceTrigger typesstatic class
HostTraceOptions.HostTraceType
Enumeration for HostTrace types
-
Constructor Summary
Constructors Constructor Description HostTraceOptions(GetAgentProperties gap)
HostTraceOptions are constructed by passing in a GetAgentProperties request that was already sent to the server.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
compares 2 instances, returns false if there are differences in dataHostTraceOptions.HostTraceFlag[]
getFlags()
int
getMaxTraceSize()
java.lang.String
getTraceFileTrigger()
HostTraceOptions.HostTraceType
getTraceType()
HostTraceOptions.HostTraceTriggerType
getTriggerType()
int
hashCode()
void
setFlags(HostTraceOptions.HostTraceFlag[] flags)
void
setMaxTraceSize(int maxTraceSize)
void
setTraceFileTrigger(java.lang.String traceFileTrigger)
void
setTraceType(HostTraceOptions.HostTraceType traceType)
void
setTriggerType(HostTraceOptions.HostTraceTriggerType triggerType)
-
-
-
Constructor Detail
-
HostTraceOptions
public HostTraceOptions(GetAgentProperties gap)
HostTraceOptions are constructed by passing in a GetAgentProperties request that was already sent to the server.- Parameters:
gap
- GetAgentProperties request
-
-
Method Detail
-
getFlags
public HostTraceOptions.HostTraceFlag[] getFlags()
- Returns:
- the flags
-
setFlags
public void setFlags(HostTraceOptions.HostTraceFlag[] flags)
- Parameters:
flags
- the flags to set
-
getMaxTraceSize
public int getMaxTraceSize()
- Returns:
- the maxTraceSize
-
setMaxTraceSize
public void setMaxTraceSize(int maxTraceSize)
- Parameters:
maxTraceSize
- the maxTraceSize to set
-
getTraceFileTrigger
public java.lang.String getTraceFileTrigger()
- Returns:
- the traceFileTrigger
-
setTraceFileTrigger
public void setTraceFileTrigger(java.lang.String traceFileTrigger)
- Parameters:
traceFileTrigger
- the traceFileTrigger to set
-
getTriggerType
public HostTraceOptions.HostTraceTriggerType getTriggerType()
- Returns:
- the triggerType
-
setTriggerType
public void setTriggerType(HostTraceOptions.HostTraceTriggerType triggerType)
- Parameters:
triggerType
- the triggerType to set
-
getTraceType
public HostTraceOptions.HostTraceType getTraceType()
- Returns:
- the traceType
-
setTraceType
public void setTraceType(HostTraceOptions.HostTraceType traceType)
- Parameters:
traceType
- the traceType to set
-
equals
public boolean equals(java.lang.Object obj)
compares 2 instances, returns false if there are differences in data- Overrides:
equals
in classjava.lang.Object
- Parameters:
obj
- Object- Returns:
- boolean
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-