Class AssertionRuleCollection
java.lang.Object
java.util.AbstractCollection<AssertionRule>
java.util.AbstractList<AssertionRule>
java.util.ArrayList<AssertionRule>
com.inductiveautomation.sfc.elements.steps.assertion.AssertionRuleCollection
- All Implemented Interfaces:
Serializable, Cloneable, Iterable<AssertionRule>, Collection<AssertionRule>, List<AssertionRule>, RandomAccess, SequencedCollection<AssertionRule>
Created by Colby.Clegg on 12/14/2015.
- See Also:
-
Field Summary
Fields inherited from class 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 ArrayList
add, add, addAll, addAll, addFirst, addLast, clear, clone, contains, ensureCapacity, forEach, get, getFirst, getLast, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeFirst, removeIf, removeLast, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizeMethods inherited from class AbstractCollection
containsAll, toStringMethods inherited from interface Collection
parallelStream, stream, toArrayMethods inherited from interface List
containsAll, reversed
-
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
-