Issue #1893 Switch machine to be LOCAL instead of using RuntimeMXBean
Former-commit-id:aa7aa88ee5
[formerly26b8938242
] [formerlyd727b93273
] [formerlyd0070fcec4
[formerlyd727b93273
[formerly f9eb42deebaab88fb9f1bbee54537e62acdc72fa]]] Former-commit-id:d0070fcec4
Former-commit-id: b0644c1ff0d4582d8483cacd6d9b031f086c5bb9 [formerly0ac1b41eeb
] Former-commit-id:3c48093ab4
This commit is contained in:
parent
212dd227cc
commit
593b2db92e
1 changed files with 5 additions and 1 deletions
|
@ -48,6 +48,8 @@ import com.raytheon.uf.common.status.UFStatus.Priority;
|
||||||
* Nov 11,2010 2235 cjeanbap Added attribute, audioFile.
|
* Nov 11,2010 2235 cjeanbap Added attribute, audioFile.
|
||||||
* Feb 7,2011 6329 rferrel Checks to make sure details
|
* Feb 7,2011 6329 rferrel Checks to make sure details
|
||||||
* and message are never null.
|
* and message are never null.
|
||||||
|
* Apr 10, 2013 1893 bsteffen Switch machine to be LOCAL instead of
|
||||||
|
* using RuntimeMXBean
|
||||||
*
|
*
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
|
@ -63,6 +65,8 @@ public class StatusMessage implements ISerializableObject, IMessage {
|
||||||
|
|
||||||
private static final int MAX_MESSAGE_LENGTH = 1024;
|
private static final int MAX_MESSAGE_LENGTH = 1024;
|
||||||
|
|
||||||
|
private static final String LOCAL = "LOCAL";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The source of the message
|
* The source of the message
|
||||||
*/
|
*/
|
||||||
|
@ -161,7 +165,7 @@ public class StatusMessage implements ISerializableObject, IMessage {
|
||||||
this.category = category;
|
this.category = category;
|
||||||
this.priority = priority;
|
this.priority = priority;
|
||||||
this.plugin = plugin;
|
this.plugin = plugin;
|
||||||
this.setMachineToCurrent();
|
this.setMachine(LOCAL);
|
||||||
buildMessageAndDetails(message, throwable, this);
|
buildMessageAndDetails(message, throwable, this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue