BundleBase.ecl 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. /*##############################################################################
  2. ## HPCC SYSTEMS software Copyright (C) 2013 HPCC Systems®. All rights reserved.
  3. ############################################################################## */
  4. EXPORT BundleBase := MODULE,VIRTUAL
  5. /*
  6. * Record format for Properties dictionary.
  7. * @return Record format for Properties dictionary.
  8. */
  9. EXPORT PropertyRecord := { UTF8 key => UTF8 value };
  10. /*
  11. * Name of this bundle.
  12. * @return Name
  13. */
  14. EXPORT STRING Name := '';
  15. /*
  16. * Description of this bundle.
  17. * @return Description
  18. */
  19. EXPORT UTF8 Description := 'ECL Bundle';
  20. /*
  21. * List of strings containing author name(s).
  22. * @return Authors list
  23. */
  24. /*
  25. * List of strings containing author name(s).
  26. * @return Authors list
  27. */
  28. EXPORT SET OF UTF8 Authors := [];
  29. /*
  30. * URL or text of licence for this bundle. If not overridden by a bundle, the Apache
  31. * license is assumed.
  32. * @return License
  33. */
  34. EXPORT UTF8 License := 'http://www.apache.org/licenses/LICENSE-2.0';
  35. /*
  36. * Copyright message for this bundle.
  37. * @return Copyright message
  38. */
  39. EXPORT UTF8 Copyright := '';
  40. /*
  41. * Dependencies. A set of strings containing names of any bundles that this bundle depends
  42. * on. One or more versions or version ranges may be specified in after the name, separated
  43. * by spaces.
  44. * @return Dependency list
  45. */
  46. EXPORT SET OF STRING DependsOn := [];
  47. /*
  48. * Version of this bundle. This should be of the form X.Y.Z, where X, Y and Z are integers.
  49. * @return Version string
  50. */
  51. EXPORT STRING Version := '1.0.0';
  52. /*
  53. * Additional properties, represented as key-value pairs. Not presently used by the bundle system,
  54. * @return Properties dictionary
  55. */
  56. EXPORT Properties := DICTIONARY([], PropertyRecord);
  57. /*
  58. * Required version of platform (optional). Can specify a version or version range. If a single version
  59. * is specified, it is treated as a minimum version.
  60. * @return Required platform version
  61. */
  62. EXPORT STRING PlatformVersion := '';
  63. END;