color
This commit is contained in:
parent
1336765585
commit
29bf8efb01
@ -40,6 +40,10 @@ public abstract class ADataObject implements Serializable {
|
||||
return name;
|
||||
}
|
||||
|
||||
public String getKind() {
|
||||
return this.kind;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuffer sb = new StringBuffer();
|
||||
sb.append("{\"name\":\"");
|
||||
|
@ -37,6 +37,9 @@ public class DummyDequeuer extends Thread {
|
||||
if (o.hasKey(ERROR_RATIO_KEY) && ((Double)o.getValues().get(ERROR_RATIO_KEY)) > 0.25) {
|
||||
System.out.print(ANSI_RED);
|
||||
}
|
||||
if ("Statistics".equals(o.getKind())) {
|
||||
System.out.print(ANSI_BLUE);
|
||||
}
|
||||
System.out.print("DummyDequeuer: " + o.toString());
|
||||
System.out.println(ANSI_RESET);
|
||||
} catch (InterruptedException e) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user