Class AiTask

java.lang.Object
org.netxms.client.ai.AiTask

public class AiTask extends Object
AI task
  • Constructor Details

    • AiTask

      public AiTask(NXCPMessage msg, long baseId)
      Create task object from NXCP message
      Parameters:
      msg - NXCP message
      baseId - base ID for fields
  • Method Details

    • getId

      public long getId()
      Returns:
      the id
    • getUserId

      public int getUserId()
      Returns:
      the userId
    • getDescription

      public String getDescription()
      Returns:
      the description
    • getPrompt

      public String getPrompt()
      Returns:
      the prompt
    • getState

      public AiTaskState getState()
      Returns:
      the state
    • getLastExecutionTime

      public Date getLastExecutionTime()
      Returns:
      the lastExecutionTime
    • getNextExecutionTime

      public Date getNextExecutionTime()
      Returns:
      the nextExecutionTime
    • getRunCount

      public int getRunCount()
      Returns:
      number of runs (including the current one while executing)
    • getExplanation

      public String getExplanation()
      Returns:
      the explanation