94c904e1cb
Both properties and methods can be marked as Usage: Static Statics can be accessed using ns:Class.property / ns:Class.method(), :Class.property / :Class.method() to access class from current namespace or type('full.name').property / type('full.name').method() to use full type name. In static method $ / $this are referencing current class rather than object. Static properties are not loaded from object model. Also methods of io.murano.configuration.Linux class are now static. Since static methods can be called on the instance it doesn't break backward compatibility. Implements blueprint: muranopl-statics Change-Id: Ic7c6beed9222f4bca118877a60fdabfdd9d65e5a
10 lines
432 B
YAML
10 lines
432 B
YAML
---
|
|
features:
|
|
- "Static methods and properties were introduced.
|
|
Both properties and methods can be marked as Usage: Static
|
|
Statics can be accessed using ns:Class.property / ns:Class.method(),
|
|
:Class.property / :Class.method() to access class from current namespace
|
|
or type('full.name').property / type('full.name').method() to use full
|
|
type name."
|
|
- io.murano.configuration.Linux methods are now static
|