Package de.dlr.proseo.planner
Klasse PlannerResultMessage
java.lang.Object
de.dlr.proseo.planner.PlannerResultMessage
Wrapper class for ProseoMessages
- Autor:
- Ernst Melchinger
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungCreate a new instance of PlannerResultMessage with a given prosEO message. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungcopy
(PlannerResultMessage msg) Copy the contents of another PlannerResultMessage to this instance.int
getCode()
Get the message code.org.slf4j.event.Level
getLevel()
Get the message level.Get the prosEO message.boolean
Check if the message is considered successful.getText()
Get the complete message text.void
setMessage
(ProseoMessage message) Set the prosEO message.void
Set the complete message text.
-
Konstruktordetails
-
PlannerResultMessage
Create a new instance of PlannerResultMessage with a given prosEO message.- Parameter:
msg
- The prosEO message.
-
-
Methodendetails
-
getMessage
Get the prosEO message.- Gibt zurück:
- The prosEO message.
-
getText
Get the complete message text.- Gibt zurück:
- The complete message text.
-
setMessage
Set the prosEO message.- Parameter:
message
- The prosEO message to set.
-
setText
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.
-