PrivateStateAPI.js 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. "use strict";
  2. function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
  3. /*
  4. * Licensed Materials - Property of IBM
  5. * IBM Business Analytics (C) Copyright IBM Corp. 2019
  6. * US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  7. */
  8. /**
  9. * @class StateAPI
  10. * @hideconstructor
  11. * @classdesc API class that is used to control a state
  12. */
  13. define([], function () {
  14. var StateAPI = function () {
  15. function StateAPI() {
  16. _classCallCheck(this, StateAPI);
  17. }
  18. /**
  19. * @function StateAPI#setStatus
  20. * @description set status of the state
  21. * @param {StateAPI#STATUS}
  22. */
  23. StateAPI.prototype.setStatus = function setStatus() {};
  24. /**
  25. * @function StateAPI#setError
  26. * @description set the error associated to the state
  27. * @param {Error} error error object associated to the state
  28. */
  29. StateAPI.prototype.setError = function setError() {};
  30. /**
  31. * @function StateAPI#clearError
  32. * @description clears the error associated to the state
  33. */
  34. StateAPI.prototype.clearError = function clearError() {};
  35. return StateAPI;
  36. }();
  37. return StateAPI;
  38. });
  39. //# sourceMappingURL=PrivateStateAPI.js.map