Package jadex.micro.benchmarks
Class BenchmarkMessage
- java.lang.Object
-
- jadex.micro.benchmarks.BenchmarkMessage
-
public class BenchmarkMessage extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
confidential
The confidential flag.protected java.lang.String
text
The message text.
-
Constructor Summary
Constructors Constructor Description BenchmarkMessage()
Create a new message.BenchmarkMessage(java.lang.String text, boolean confidential)
Create a new message.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getText()
Get the text.boolean
isConfidential()
Set the confidential flag.void
setConfidential(boolean confidential)
Set the confidential flag.void
setText(java.lang.String text)
Set the text.
-
-
-
Method Detail
-
getText
public java.lang.String getText()
Get the text.- Returns:
- The text.
-
setText
public void setText(java.lang.String text)
Set the text.- Parameters:
text
- The text to set.
-
isConfidential
public boolean isConfidential()
Set the confidential flag.- Returns:
- The confidential.
-
setConfidential
public void setConfidential(boolean confidential)
Set the confidential flag.- Parameters:
confidential
- the confidential to set.
-
-