Class Of Service Restriction 服务等级限制
In this case, the restriction selects all resources that have an issue property where the value of that property is of class issue.
在这个例子里,约束条件选择所有具有issue特性并且该特性的值属于类issue的资源。
This restriction is lifted in Groovy; you can change the values of variables in a containing scope from within an anonymous inner class.
Groovy则消除了这种限制,在Groovy中,匿名内部类可以修改外部的变量值。
By its subclassing from this restriction, the RelevantResource class is a sort of virtual class that includes a set of all resources that meet the restriction.
通过从这一约束条件划分子类, RelevantResource 类成为一种包含一个所有满足该约束条件资源集合的虚拟类。
应用推荐