Added description field to the 'Computer' api
@@ -1067,6 +1067,17 @@ public /*transient*/ abstract class Computer extends Actionable implements Acces
return firstDemand;
}
+ /**
+ * Returns the {@link Node} description for this computer
+ */
+ @Restricted(DoNotUse.class)
+ @Exported
+ public @Nonnull String getDescription() {
+ Node node = getNode();
+ return (node != null) ? node.getNodeDescription() : null;
+ }
+
+
/**
* Called by {@link Executor} to kill excessive executors from this computer.
*/
