[Status] Revise API

Change method names, add a getter to status capability;
per code review feedback, nasa/openmctweb#319.
This commit is contained in:
Victor Woeltjen
2015-11-20 09:46:08 -08:00
parent b5d1118a3f
commit 400b992ec3
6 changed files with 27 additions and 13 deletions

View File

@ -51,7 +51,7 @@ define(
* @returns {string[]} an array containing all status flags currently
* applicable to the object with this identifier
*/
StatusService.prototype.getStatus = function (id) {
StatusService.prototype.listStatuses = function (id) {
return this.statusTable[id] || [];
};