mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Adding pretty toString() to AffinityGroup
This commit is contained in:
parent
fc248cb99c
commit
bbf7900732
@ -104,4 +104,11 @@ public class AffinityGroupVO implements AffinityGroup {
|
|||||||
return type;
|
return type;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
StringBuilder buf = new StringBuilder("AffinityGroup[");
|
||||||
|
buf.append(id).append("|").append(name).append("|").append(type).append("]");
|
||||||
|
return buf.toString();
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user