## Uses of Class
com.ibm.openpages.api.rule.TBRuleDefinitionType

- Packages that use TBRuleDefinitionType
  Package | Description
  --- | ---
  com.ibm.openpages.api.rule |
  com.ibm.openpages.api.service | Provides the main interfaces to work with the API services.

- - ### Uses of TBRuleDefinitionType in com.ibm.openpages.api.rule

    Methods in com.ibm.openpages.api.rule that return TBRuleDefinitionType
    Modifier and Type | Method and Description
    --- | ---
    `TBRuleDefinitionType` | ITBRuleDefinition.`getType()` Get the type of the rule that determines when it should be run
    `static TBRuleDefinitionType` | TBRuleDefinitionType.`getValue(int id)`
    `static TBRuleDefinitionType` | TBRuleDefinitionType.`valueOf(java.lang.String name)` Returns the enum constant of this type with the specified name.
    `static TBRuleDefinitionType[]` | TBRuleDefinitionType.`values()` Returns an array containing the constants of this enum type, in the order they are declared.

    Methods in com.ibm.openpages.api.rule that return types with arguments of type TBRuleDefinitionType
    Modifier and Type | Method and Description
    --- | ---
    `java.util.List<TBRuleDefinitionType>` | ITBRuleDefinitionFindOptions.`getRuleTypes()` Get the rule types to filter by.

    Methods in com.ibm.openpages.api.rule with parameters of type TBRuleDefinitionType
    Modifier and Type | Method and Description
    --- | ---
    `void` | ITBRuleDefinitionFindOptions.`addRuleType(TBRuleDefinitionType ruleType)` Add a rule type to filter by to the list
    `void` | ITBRuleDefinition.`setType(TBRuleDefinitionType type)` Set the type of the rule to determine when it should be run

    Method parameters in com.ibm.openpages.api.rule with type arguments of type TBRuleDefinitionType
    Modifier and Type | Method and Description
    --- | ---
    `void` | ITBRuleDefinitionFindOptions.`setRuleTypes(java.util.List<TBRuleDefinitionType> ruleTypes)` Set the list of rule types to filter by.

  - ### Uses of TBRuleDefinitionType in com.ibm.openpages.api.service

    Methods in com.ibm.openpages.api.service with parameters of type TBRuleDefinitionType
    Modifier and Type | Method and Description
    --- | ---
    `java.util.List<ITBRuleDefinition>` | ITBRuleService.`getRuleDefinitionsByRuleType(TBRuleDefinitionType type)` Returns the latest published version of all `ITBRuleDefinitions`s by `TBRuleDefinitionType` that are currently enabled.
    `java.util.List<ITBRuleDefinition>` | ITBRuleService.`getRunnableRules(Id objectType, TBRuleDefinitionType ruleType)` Get all runnable rules for an object type

Licensed Materials - Property of IBM
OpenPages with Watson (PID: 5725-D51)
© Copyright IBM Corporation 2013, 2020. All Rights Reserved.
US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.