Class HostTraceOptions

java.lang.Object
com.uc4.api.systemoverview.HostTraceOptions

public class HostTraceOptions extends 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.
  • Constructor Details

    • 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 Details

    • 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 String getTraceFileTrigger()
      Returns:
      the traceFileTrigger
    • setTraceFileTrigger

      public void setTraceFileTrigger(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(Object obj)
      compares 2 instances, returns false if there are differences in data
      Overrides:
      equals in class Object
      Parameters:
      obj - Object
      Returns:
      boolean
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object