Class ListRule
- java.lang.Object
-
- org.oa4mp.delegation.server.storage.uuc.MetaRule
-
- org.oa4mp.delegation.server.storage.uuc.ListRule
-
public class ListRule extends MetaRule
Created by Jeff Gaynor
on 2/12/24 at 1:45 PM
-
-
Constructor Summary
Constructors Constructor Description ListRule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
applies(edu.uiuc.ncsa.security.core.Identifier id)
Does this rule apply to this list? This means that the argument fulfills the conditions in the list.boolean
applies(String id)
protected boolean
applyToID(edu.uiuc.ncsa.security.core.Identifier id)
protected boolean
applyToID(String id)
protected boolean
applyToRegex(String id)
List<edu.uiuc.ncsa.security.core.Identifier>
getIDlist()
List<String>
getRegexList()
RuleFilter
getRuleFilter()
boolean
hasRuleFilter()
boolean
isBlackList()
void
setBlackList(boolean blackList)
void
setIdList(List<edu.uiuc.ncsa.security.core.Identifier> idList)
void
setRegexList(List<String> regexList)
void
setRuleFilter(RuleFilter ruleFilter)
-
-
-
Method Detail
-
isBlackList
public boolean isBlackList()
-
setBlackList
public void setBlackList(boolean blackList)
-
setIdList
public void setIdList(List<edu.uiuc.ncsa.security.core.Identifier> idList)
-
getIDlist
public List<edu.uiuc.ncsa.security.core.Identifier> getIDlist()
-
getRuleFilter
public RuleFilter getRuleFilter()
-
setRuleFilter
public void setRuleFilter(RuleFilter ruleFilter)
-
hasRuleFilter
public boolean hasRuleFilter()
-
applies
public boolean applies(edu.uiuc.ncsa.security.core.Identifier id)
Does this rule apply to this list? This means that the argument fulfills the conditions in the list.- Parameters:
id
-- Returns:
-
applyToID
protected boolean applyToID(edu.uiuc.ncsa.security.core.Identifier id)
-
applyToID
protected boolean applyToID(String id)
-
applyToRegex
protected boolean applyToRegex(String id)
-
applies
public boolean applies(String id)
-
-