Klasse PlannerResultMessage

java.lang.Object
de.dlr.proseo.planner.PlannerResultMessage

public class PlannerResultMessage extends Object
Wrapper class for ProseoMessages
Autor:
Ernst Melchinger
  • Konstruktordetails

    • PlannerResultMessage

      public PlannerResultMessage(ProseoMessage msg)
      Create a new instance of PlannerResultMessage with a given prosEO message.
      Parameter:
      msg - The prosEO message.
  • Methodendetails

    • getMessage

      public ProseoMessage getMessage()
      Get the prosEO message.
      Gibt zurück:
      The prosEO message.
    • getText

      public String getText()
      Get the complete message text.
      Gibt zurück:
      The complete message text.
    • setMessage

      public void setMessage(ProseoMessage message)
      Set the prosEO message.
      Parameter:
      message - The prosEO message to set.
    • setText

      public void setText(String text)
      Set the complete message text.
      Parameter:
      text - The complete message text to set.
    • copy

      Copy the contents of another PlannerResultMessage to this instance.
      Parameter:
      msg - The PlannerResultMessage to copy.
      Gibt zurück:
      This PlannerResultMessage instance.
    • getSuccess

      public boolean getSuccess()
      Check if the message is considered successful. A message is considered successful unless its level is error.
      Gibt zurück:
      True if the message is successful, false otherwise.
    • getCode

      public int getCode()
      Get the message code.
      Gibt zurück:
      The message code.
    • getLevel

      public org.slf4j.event.Level getLevel()
      Get the message level.
      Gibt zurück:
      The message level.