Package com.zerog.ia.auto.project.rules
Class TagRule
- java.lang.Object
-
- com.zerog.ia.auto.project.ProjectObject
-
- com.zerog.ia.auto.project.InstallableObject
-
- com.zerog.ia.auto.project.rules.Rule
-
- com.zerog.ia.auto.project.rules.TagRule
-
- All Implemented Interfaces:
Referenceable
public final class TagRule extends Rule
This rule checks for Tags. The Tag Check rule is not exposed outside. It allows for build time payload optimization as well as runtime filtering. By Default: If the installpiece does not have tags associated, then the rule evaluates to true. Each TagChk rule has a tagsToAllow vector, which enumerates all tags it can allow, if this vector has atleast one tag which matches with the tags associated with the installpeice (container) for which the rule is evaluated, then the rule returns true. It returns false otherwise- Version:
- 1.0
- Author:
- Jiju Jacob
-
-
Constructor Summary
Constructors Constructor Description TagRule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Vector<Tag>
getTagsToAllow()
The set of tags with which the associated Install Piece is associatedvoid
setTagsToAllow(java.util.Vector<Tag> TagsToAllow)
The set of tags with which the associated Install Piece is associated-
Methods inherited from class com.zerog.ia.auto.project.InstallableObject
getBelongsToUninstallPhase, getRollbackEnabledCancel, getRollbackEnabledError, getRuleExpression, getRules, getRulesLogicalOperation, getTagsInInstallPiece, setBelongsToUninstallPhase, setRollbackEnabledCancel, setRollbackEnabledError, setRuleExpression, setRulesLogicalOperation, setTagsInInstallPiece
-
Methods inherited from class com.zerog.ia.auto.project.ProjectObject
equals, getReferenceID, hashCode, setReferenceID
-
-