| org.openharmonise.him.actions.rules.EnableRule
All known Subclasses: org.openharmonise.him.actions.rules.NoPublishedChildrenRule, org.openharmonise.him.actions.rules.IsLockedByOtherUser, org.openharmonise.him.actions.rules.PathEquals, org.openharmonise.him.actions.rules.TabRule, org.openharmonise.him.actions.rules.RuleGroup, org.openharmonise.him.actions.rules.MetadataRule, org.openharmonise.him.actions.rules.IsHistoricalRule, org.openharmonise.him.actions.rules.isMetadataValidRule, org.openharmonise.him.actions.rules.IsDirectoryRule, org.openharmonise.him.actions.rules.ParentPathEquals, org.openharmonise.him.actions.rules.SecurityRule, org.openharmonise.him.actions.rules.IsPublishedRule, org.openharmonise.him.actions.rules.PathRule,
EnableRule | public interface EnableRule (Code) | | Implementors of this interface acts as templates for rules
which are used to check if actions are enabled.
author: Matthew Large version: $Revision: 1.1 $ |
Method Summary | |
public boolean | isEnabled(VirtualFile vfFile) Checks if an action is enabled base on the rule, its parameters
and the current context. | public void | setResultComparator(boolean bComparator) Sets the results comparator. |
isEnabled | public boolean isEnabled(VirtualFile vfFile)(Code) | | Checks if an action is enabled base on the rule, its parameters
and the current context.
Parameters: vfFile - Current context virtual file true if the rule is passed |
|
|