Class AssertionRuleCollection
- java.lang.Object
- 
- java.util.AbstractCollection<E>
- 
- java.util.AbstractList<E>
- 
- java.util.ArrayList<AssertionRule>
- 
- com.inductiveautomation.sfc.elements.steps.assertion.AssertionRuleCollection
 
 
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable,- java.lang.Cloneable,- java.lang.Iterable<AssertionRule>,- java.util.Collection<AssertionRule>,- java.util.List<AssertionRule>,- java.util.RandomAccess
 
 public class AssertionRuleCollection extends java.util.ArrayList<AssertionRule> Created by Colby.Clegg on 12/14/2015.- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description AssertionRuleCollection()
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)static AssertionRuleCollectionfromXml(org.w3c.dom.Element parentDom)static ExpressionparseRule(ELParserHarness parser, ExpressionParseContext context, java.lang.String expr, boolean isParameter)Parses the assertion rule with a special condition for the parameter portion- it should allow full expressions, or shortcuts of just the name as a reference.voidtoXml(javax.xml.stream.XMLStreamWriter writer)voidvalidate(ChartUIElement element, ChartCompilationResults results)- 
Methods inherited from class java.util.ArrayListadd, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
 
- 
 
- 
- 
- 
Method Detail- 
equalspublic boolean equals(java.lang.Object o) - Specified by:
- equalsin interface- java.util.Collection<AssertionRule>
- Specified by:
- equalsin interface- java.util.List<AssertionRule>
- Overrides:
- equalsin class- java.util.ArrayList<AssertionRule>
 
 - 
toXmlpublic void toXml(javax.xml.stream.XMLStreamWriter writer) throws javax.xml.stream.XMLStreamException- Throws:
- javax.xml.stream.XMLStreamException
 
 - 
fromXmlpublic static AssertionRuleCollection fromXml(org.w3c.dom.Element parentDom) throws XmlParseException - Throws:
- XmlParseException
 
 - 
parseRulepublic static Expression parseRule(ELParserHarness parser, ExpressionParseContext context, java.lang.String expr, boolean isParameter) throws java.lang.Exception Parses the assertion rule with a special condition for the parameter portion- it should allow full expressions, or shortcuts of just the name as a reference. In other words, both "{param}" and "param" should work.- Throws:
- java.lang.Exception
 
 - 
validatepublic void validate(ChartUIElement element, ChartCompilationResults results) 
 
- 
 
-