Provide a Java implementation of the class rule that will be invoked each time that the transformation encounters the element type that you indicate.
提供每次当转换遇到您指示的元素类型时要调用的类规则的实现。
If the student breaks the rule and uses his or her phone during class, the student will be warned.
如果学生违反规定,在课堂上使用手机,将受到警告。
After the rule class is completed, it needs to be described through the provided extension points in the analysis framework so that the code review engine can discover it.
在规则类被完成之后,它需要通过在分析架构中的所提供的扩展点被描述出来,从而使得代码评审引擎能够将其发现。
For instance, you can create your own static analysis rule to run against a large application to find where a particular interface or class is used.
举例来说,您可以创建对大型的应用程序运行的您自己的静态分析规则,从而发现在哪里用到了特定的接口或类。
It USES a rule parameter to declare and describe a field where the user can type a qualified class name.
它使用一个规则参数来声明和描述一个用户可以键入一个合格的类名称的域。
Since there is an association between storage system and storage class, objects will move along the designated storage system according to the rule set in migration policy.
由于存储系统和存储类之间存在关联,因此对象将根据移植策略中设置的规则移动到指定存储系统中。
Before you look in detail at the transform, amend the rule class to invoke this generated class.
在您详细察看转换之前,我们先要修正规则类,使其能够调用刚刚产生的类。
Each step presents a new mapping rule and explains the related concepts; where meaningful, a class diagram illustrates the rule.
每一步表达了一个新的映射规则,并解释了相关的概念;在需要的地方有类图描述规则。
We either make a blanket filter change, or add in a custom rule for the specific package or class under investigation.
我们或做出适用于所有情形的过滤器修改,或为特定包或类添加定制规则。
The rule class is quite simple, typically containing only a single method.
规则类是十分简单的,典型情况下只包含一个方法。
Once this rule command class is created, it is triggered to execute the correct rule in that specific rule engine.
一旦一个规则命令类被创建,它将在特定的规则引擎上被触发且执行正确的规则。
In the example shown in Figure 14, the selected rule template defined only one parameter; therefore, you can enter only a qualified class name in the field provided.
在图14中所示的实例中,所选的规则模板只定义了一个参数,因此,您可以在提供的文本框中只输入限定的类名。
Change the rule implementation class.
更改规则实现类。
You apply that goal to application URLs by connecting the transaction class to a work class (that maps to a set of URLs) through the creation of a routing rule.
通过创建路由规则并将事务类连接到一个工作类(它映射到一组URL),从而将性能目标应用到应用程序的URL上。
The final step for defining a new rule is to define the class that represents it.
定义一个新规则的最后一步,是定义一个代表该规则的类。
Each transformation extension defines, as child elements. a rule definition that specifies a class that implements a rule interface.
每个转换扩展定义,就像子元素一样,指定实现规则接口的类的规则定义。
Each p: : RD grammar becomes an object blessed into the p: : RD class, with each rule in the grammar as a method you can use to cause actions to happen.
每个P:RD语法成为P: rd类中的一个对象,语法中的每一个规则都可以作为用来执行动作的方法。
Three required attributes for a rule are: 1 fully qualified name, 2 implementation class, and 3 initialization properties.
规则的三个必要的属性是:1完整的限定名,2实现类,3初始化属性。
This example creates a new rule template that allows the user to define new rules to report and code that extends a given class.
这个例子创建了一个允许用户来定义新的规则来报告以及为特定的类编码扩展的模板。
Listing 3 is a code snippet that shows how you can implement a rule class.
列表3是一个显示如何执行规则类的代码片段。
A rule of thumb advocated by many is that a class with more than 1,000 lines of code is too big.
许多人所提倡的一条经验法则是,类的代码行超过1,000行就可以说该类太长了。
Define the class that represents the rule.
定义代表规则的类。
As you might expect, adding a new rule is a simple matter of creating a rule class and adding an extension to the plug-in.
您可能会想,添加一条新规则,要比创建规则类和向插件添加一个扩展容易。
You will now repackage the Rule Team Server EAR file with the new controller class and preferences file, using an Ant task provided in the sample.
您现在需要重新打包RuleTeamServerEAR文件,使其包含新控制程序类和preferences文件,使用样例中提供的Ant任务完成。
Each rule class implements the RuleImplementor interface which includes two methods: fire and init.
每个规则类都实现了Rule Implementor接口,该接口包含两个方法:fire和init。
Each TStaffRole (child) class aggregates a verb object that represents the authorization rule.
每个TStaffRole(子)类都聚合一个表示授权规则的谓词对象。
Many frameworks in Objective-C provide a wrapper header that imports all the enclosed class headers; this could be provided quite easily by developing a package rule.
Objective - C中的很多框架都提供了一个包装头,它可以导入所有附着在上面的类头;这通过开发一个包规则可以很容易的提供。
ValidationRule is an abstract class for a rule engine used to validate and format ViewController field content.
ValidationRule是规则引擎的抽象类,用来验证并格式化ViewController字段内容。
ValidationRule is an abstract class for a rule engine used to validate and format ViewController field content.
ValidationRule是规则引擎的抽象类,用来验证并格式化ViewController字段内容。
应用推荐