Class ProcessedObjects
- java.lang.Object
-
- org.verapdf.metadata.fixer.utils.model.ProcessedObjects
-
- All Implemented Interfaces:
Iterable<RuleDescription>
public class ProcessedObjects extends Object implements Iterable<RuleDescription>
Current class represent list of rule descriptions- Author:
- Evgeniy Muravitskiy
-
-
Constructor Summary
Constructors Constructor Description ProcessedObjects()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addCheckObject(RuleDescription object)
Add another rule descriptionboolean
contains(String objectType, String test)
Check if string representation of rule description contains in processed objectsList<RuleDescription>
getRuleDescriptions()
Iterator<RuleDescription>
iterator()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Method Detail
-
getRuleDescriptions
public List<RuleDescription> getRuleDescriptions()
- Returns:
- list of all rule descriptions
-
addCheckObject
public void addCheckObject(RuleDescription object)
Add another rule description- Parameters:
object
- description of the rule
-
contains
public boolean contains(String objectType, String test)
Check if string representation of rule description contains in processed objects- Parameters:
objectType
- passed type of applied objecttest
- passed test of rule description- Returns:
-
iterator
public Iterator<RuleDescription> iterator()
- Specified by:
iterator
in interfaceIterable<RuleDescription>
-
-