RenderContextAPI.js 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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 RenderContextAPI
  10. * @hideconstructor
  11. * @classdesc defines the render context API available in task callbacks
  12. */
  13. define([], function () {
  14. var RenderContextAPI = function () {
  15. function RenderContextAPI() {
  16. _classCallCheck(this, RenderContextAPI);
  17. }
  18. /**
  19. * @public
  20. * @function RenderContextAPI#getSequenceId
  21. * @description gets the sequence id
  22. * @return {Integer} sequence id
  23. */
  24. RenderContextAPI.prototype.getSequenceId = function getSequenceId() {};
  25. /**
  26. * @public
  27. * @function RenderContextAPI#getData
  28. * @description retrieves a property
  29. * @param {string} name - name of the property
  30. * @return {Object} the property data; undefined when name is undefined or no data exists for the given name
  31. */
  32. RenderContextAPI.prototype.getData = function getData() {};
  33. return RenderContextAPI;
  34. }();
  35. return RenderContextAPI;
  36. });
  37. //# sourceMappingURL=RenderContextAPI.js.map