Skip to content

Package io.github.qishr.cascara.common.util

Interface IScope

java.lang.Object
        io.github.qishr.cascara.common.util.CommandLine.Model.IScope

All Implemented Interfaces:
    IGetter, ISetter

Enclosing Class:
    io.github.qishr.cascara.common.util.CommandLine.Model


public static interface IScope

The scope of a getter/setter binding is the context where the current value should be gotten from or set to.Usually, this is an instance of the enclosing element. For a field, the scope is the object whose field value to get/set. For a method binding, it is the object on which the method should be invoked.

The getter and setter of the scope allow you to change the object onto which the option and positional parameter getters and setters should be applied.