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:
- Serializable,- Cloneable,- Iterable<AssertionRule>,- Collection<AssertionRule>,- List<AssertionRule>,- RandomAccess
Created by Colby.Clegg on 12/14/2015.
- See Also:
- 
Field SummaryFields inherited from class java.util.AbstractListmodCount
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanstatic AssertionRuleCollectionstatic ExpressionparseRule(ELParserHarness parser, ExpressionParseContext context, 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(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, trimToSizeMethods inherited from class java.util.AbstractCollectioncontainsAll, toStringMethods inherited from class java.lang.Objectfinalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.CollectionparallelStream, stream, toArrayMethods inherited from interface java.util.ListcontainsAll
- 
Constructor Details- 
AssertionRuleCollectionpublic AssertionRuleCollection()
 
- 
- 
Method Details- 
equals- Specified by:
- equalsin interface- Collection<AssertionRule>
- Specified by:
- equalsin interface- List<AssertionRule>
- Overrides:
- equalsin class- ArrayList<AssertionRule>
 
- 
toXml- Throws:
- XMLStreamException
 
- 
fromXml- Throws:
- XmlParseException
 
- 
parseRulepublic static Expression parseRule(ELParserHarness parser, ExpressionParseContext context, String expr, boolean isParameter) throws 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:
- Exception
 
- 
validate
 
-