Package org.mozilla.zest.core.v1
Class ZestExpressionURL
- java.lang.Object
-
- org.mozilla.zest.core.v1.ZestElement
-
- org.mozilla.zest.core.v1.ZestExpression
-
- org.mozilla.zest.core.v1.ZestExpressionURL
-
- All Implemented Interfaces:
ZestExpressionElement
public class ZestExpressionURL extends ZestExpression
The Class ZestExpressionURL.
-
-
Field Summary
-
Fields inherited from class org.mozilla.zest.core.v1.ZestElement
JSON_ELEMENT_TYPE
-
-
Constructor Summary
Constructors Constructor Description ZestExpressionURL()Instantiates a new zest expression url.ZestExpressionURL(List<String> includeRegexes, List<String> excludeRegexes)Instantiates a new zest expression url.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ZestExpressionURLdeepCopy()Deep copy.List<String>getExcludeRegexes()Gets the exclude regexes.List<String>getIncludeRegexes()Gets the include regexes.booleanisTrue(ZestRuntime runtime)the boolean value result of the expression without inverse flag.voidsetExcludeRegexes(List<String> excludeRegexes)Sets the exclude regexes.voidsetIncludeRegexes(List<String> includeRegexes)Sets the include regexes.StringtoString()-
Methods inherited from class org.mozilla.zest.core.v1.ZestExpression
evaluate, isInverse, isLeaf, setInverse
-
Methods inherited from class org.mozilla.zest.core.v1.ZestElement
getElementType, isSameSubclass, setElementType
-
-
-
-
Method Detail
-
isTrue
public boolean isTrue(ZestRuntime runtime)
Description copied from interface:ZestExpressionElementthe boolean value result of the expression without inverse flag.- Parameters:
runtime- the runtime- Returns:
- the boolean value of the expression without inverse flag
-
getIncludeRegexes
public List<String> getIncludeRegexes()
Gets the include regexes.- Returns:
- the include regexes
-
getExcludeRegexes
public List<String> getExcludeRegexes()
Gets the exclude regexes.- Returns:
- the exclude regexes
-
setIncludeRegexes
public void setIncludeRegexes(List<String> includeRegexes)
Sets the include regexes.- Parameters:
includeRegexes- the new include regexes
-
setExcludeRegexes
public void setExcludeRegexes(List<String> excludeRegexes)
Sets the exclude regexes.- Parameters:
excludeRegexes- the new exclude regexes
-
deepCopy
public ZestExpressionURL deepCopy()
Description copied from class:ZestElementDeep copy.- Specified by:
deepCopyin interfaceZestExpressionElement- Specified by:
deepCopyin classZestExpression- Returns:
- the zest element
- See Also:
ZestElement
-
-