Package com.uc4.api.systemoverview
Class HostTraceOptions
- java.lang.Object
-
- com.uc4.api.systemoverview.HostTraceOptions
-
public class HostTraceOptions extends java.lang.ObjectHostTraceOptions 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 classHostTraceOptions.HostTraceFlagHostTraceFlag ist used to represent the data for a particular trace flag such as its index.static classHostTraceOptions.HostTraceTriggerTypeEnumeration for HostTraceTrigger typesstatic classHostTraceOptions.HostTraceTypeEnumeration 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 booleanequals(java.lang.Object obj)compares 2 instances, returns false if there are differences in dataHostTraceOptions.HostTraceFlag[]getFlags()intgetMaxTraceSize()java.lang.StringgetTraceFileTrigger()HostTraceOptions.HostTraceTypegetTraceType()HostTraceOptions.HostTraceTriggerTypegetTriggerType()inthashCode()voidsetFlags(HostTraceOptions.HostTraceFlag[] flags)voidsetMaxTraceSize(int maxTraceSize)voidsetTraceFileTrigger(java.lang.String traceFileTrigger)voidsetTraceType(HostTraceOptions.HostTraceType traceType)voidsetTriggerType(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:
equalsin classjava.lang.Object- Parameters:
obj- Object- Returns:
- boolean
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-