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 Summary
Fields inherited from class java.util.AbstractList
modCount -
Constructor Summary
Constructors -
Method Summary
Modifier 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.ArrayList
add, 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.AbstractCollection
containsAll, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, stream, toArrayMethods inherited from interface java.util.List
containsAll
-
Constructor Details
-
AssertionRuleCollection
public AssertionRuleCollection()
-
-
Method Details
-
equals
- Specified by:
equalsin interfaceCollection<AssertionRule>- Specified by:
equalsin interfaceList<AssertionRule>- Overrides:
equalsin classArrayList<AssertionRule>
-
toXml
- Throws:
XMLStreamException
-
fromXml
- Throws:
XmlParseException
-
parseRule
public 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
-