Method | Returns | Description |
object.getId() | integer | Instance method that returns the ID of the context. |
object.getName() | string | Instance method that returns the name of the context. |
object.isPublic() | boolean | Instance method that returns true if the context is public. |
object.toString() | string | Instance method that returns a string that contains the properties of the context. For example, for a public context whose name is test, the content of the returned string would be something like this: context(1, “test”, true) |
context.current() | context | Static method that returns a reference to the current context. The current context is the context that contains the monitor instance or event instance that is calling this method. |