public class FolderMatchRule extends DefaultRule
| Attribute | Values | Description | Required | Default |
|---|---|---|---|---|
| folder.path |   | Determines the path of the folder in which the resource should reside. | Yes |   |
| scope | recursive - Sub-folders will be checked. self - Only immediate child resources will be checked. |
The scope of the search. | No | self |
| check.for | all - All fields will be checked for changes. any - Checks whether any one field was changed. |
Determines the scope of the search. E.g. <attribute name="check.for" value="all"/> | No | all |
| check.on | parent - Check on the parent only. This applies to associate.objects or disassociate.objects events only. child - Check on the child only. This applies to associate.objects or disassociate.objects events only. source - Check on the source only. This applies to copy.object or copy.objects events only. destination - Check on the destination only. This applies to copy.object or copy.objects events only. |
Determines the scope of the search. E.g. This applies to associate.objects, disassociate.objects, copy.object or copy.objects events only. | No | parent - This applies to associate.objects or disassociate.objects events only. source - This applies to copy.object or copy.objects events only. |
<rule class="com.ibm.openpages.api.trigger.oob.FolderMatchRule" >
<attribute name="folder.path" value="/_op_sox/Project/Default/ICDocumentation/Loss Events"/>
<attribute name="scope" value="recursive"/>
</rule>
| Constructor and Description |
|---|
FolderMatchRule() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isApplicable(AssociateResourceEvent event)
Check if the associate resource event should be applied.
|
boolean |
isApplicable(CopyResourceEvent event)
Check if the copy resource event should be applied.
|
boolean |
isApplicable(CreateResourceEvent event)
Check if the create resource event should be applied.
|
boolean |
isApplicable(CreateResourceWithRelationsEvent event)
Check if the create resource with relations event should be applied.
|
boolean |
isApplicable(DeleteResourceEvent event)
Check if the delete resource event should be applied.
|
boolean |
isApplicable(DisassociateResourceEvent event)
Check if the disassociate resource event should be applied.
|
boolean |
isApplicable(MoveResourceEvent event)
Check if the move resource event should be applied.
|
boolean |
isApplicable(ReassignPrimaryParentEvent event)
Check if the reassigning primary parent event should be applied.
|
boolean |
isApplicable(RenameResourceEvent event)
Check if the rename resource event should be applied.
|
boolean |
isApplicable(UpdateResourceEvent event)
Check if the update resource event should be applied.
|
isApplicable, isApplicable, isApplicablegetAttributes, setAttributespublic boolean isApplicable(CreateResourceEvent event)
isApplicable in class DefaultRuleevent - a create resource event to be checked.public boolean isApplicable(CreateResourceWithRelationsEvent event)
isApplicable in class DefaultRuleevent - a create resource with relations event to be checked.public boolean isApplicable(UpdateResourceEvent event)
isApplicable in class DefaultRuleevent - an update resource event to be checked.public boolean isApplicable(AssociateResourceEvent event)
isApplicable in class DefaultRuleevent - an associate resource event to be checked.public boolean isApplicable(DisassociateResourceEvent event)
isApplicable in class DefaultRuleevent - a dissasociate resource event to be checked.public boolean isApplicable(ReassignPrimaryParentEvent event)
isApplicable in class DefaultRuleevent - a reassigning primary parent event to be checked.public boolean isApplicable(RenameResourceEvent event)
isApplicable in class DefaultRuleevent - a rename resource event to be checked.public boolean isApplicable(CopyResourceEvent event)
isApplicable in class DefaultRuleevent - a copy resource event to be checked.public boolean isApplicable(MoveResourceEvent event)
isApplicable in class DefaultRuleevent - a move resource event to be checked.public boolean isApplicable(DeleteResourceEvent event)
isApplicable in class DefaultRuleevent - a delete resource event to be checked.
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.