CentraSite Documentation : CentraSite User’s Guide : Working with Design/Change-Time Policies : Functional Scope : Specifying the Scope of a Design/Change-Time Policy : Refining the Object Scope
Refining the Object Scope
If you want to further restrict the set of objects to which the policy is applied, you can specify additional selection criteria in the Apply policy to objects that meet the following criteria section of the Scope tab. Using this section, you can filter objects by Name, Description, and/or Classification attributes.
Filtering By Name and Description
You can filter objects based on their Name and/or Description attributes using any of the following comparison operators:
Comparison Operator
Description
Equals
Selects objects whose Name or Description value matches a given string of characters. For example, you would use this operator if you wanted to apply a policy only to Taxonomy objects with the Description value Project IDs.
Not Equals
Selects objects whose Name or Description value does not match a given string of characters.
For example, you would you use this operator if you wanted to apply a policy to all Taxonomies except those with the Description value Project IDs.
Contains
Selects objects whose Name or Description property includes a given string of characters anywhere within the property's value. For example, you would use this operator if you wanted to apply a policy to Application Server objects that had the word Fairfax anywhere in their Description property.
Starts With
Selects objects whose Name or Description property begins with a given string. For example, you would use this operator if you wanted to apply a policy only to Web services whose name begins with the characters UTIL-.
When specifying match strings for the comparison operators described above, keep the following points in mind:
*Match strings are not case-sensitive. If you define a filter for names that start with ABC, it will select names starting abc and Abc (and other variations) as well as ABC.
*Wild card characters are not supported. That is, you cannot use characters such as * or % to represent any sequence of characters. These characters, if present in the match string, are simply treated as literal characters that are to be matched.
Filtering By Classification Attribute
You can also filter objects based on the way in which they are classified. When you filter objects in this way, CentraSite applies the policy to objects that have at least one classification attribute whose value matches a specified taxonomy category. For example, you could use a classification filter to apply a policy to those Application Servers objects that are classified as JBoss servers.
When you filter objects by classification, CentraSite inspects all of an object's classification attributes at enforcement time. If any of those attributes contain the exact category specified by the selection criteria, the policy is executed.
Note:  
To satisfy the selection criteria, the attribute value in the object must match the category specified in the selection criteria exactly. Sub-categories of the specified category are not considered to be matches. For example, say you have a taxonomy category called "Project ABC", and that category has the subcategories "Project ABC Design", Project ABC Development", and "Project ABC Deployment". If you filter for category "Project ABC", CentraSite will apply the policy to objects that are classified by the specific category "Project ABC", but not objects that are classified by that category's sub-categories.
How to Refine the Object Scope
Use the following procedure to specify additional criteria for selecting the objects to which you want the policy applied:
To refine the object scope
1. Select the policy's Scope tab.
2. If you want to filter by Name or Description, take the following steps in the Apply policy to objects that meet the following criteria section of the tab:
a. Select Name or Description in the first field.
b. Select the comparison operator in the second field.
c. Specify the match string in the third field.
3. If you want to filter by object classification, take the following steps in the Apply policy to objects that meet the following criteria section of the tab:
a. Select Classification in the first field.
b. Click Browse and select the category by which you want to filter objects.
4. If you want to specify additional criteria, click the plus button and repeat steps 2 and 3.
Important:  
If you specify multiple filters, the policy is applied only if the object matches all the selection criteria (that is, the selection criteria is combined using an AND operator, not an OR).
Copyright © 2005-2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback