Package org.mozilla.zest.core.v1
Class ZestLoopStateString
- java.lang.Object
-
- org.mozilla.zest.core.v1.ZestElement
-
- org.mozilla.zest.core.v1.ZestLoopState<String>
-
- org.mozilla.zest.core.v1.ZestLoopStateString
-
- Direct Known Subclasses:
ZestLoopStateClientElements,ZestLoopStateFile,ZestLoopStateRegex
public class ZestLoopStateString extends ZestLoopState<String>
The Class ZestLoopStateString.
-
-
Field Summary
-
Fields inherited from class org.mozilla.zest.core.v1.ZestElement
JSON_ELEMENT_TYPE
-
-
Constructor Summary
Constructors Constructor Description ZestLoopStateString()Instantiates a new zest loop state string.ZestLoopStateString(String[] values)Instantiates a new zest loop state string.ZestLoopStateString(ZestLoopTokenStringSet initializationTokenSet)Instantiates a new zest loop state string.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ZestLoopState<String>deepCopy()Deep copy.booleanincrease(ZestLoopTokenSet<String> set)this increase the state and goes to the next state.-
Methods inherited from class org.mozilla.zest.core.v1.ZestLoopState
equals, getCurrentIndex, getCurrentToken, hashCode, increaseIndex, isLastState, setCurrentToken, setIndex, toLastState
-
Methods inherited from class org.mozilla.zest.core.v1.ZestElement
getElementType, isSameSubclass, setElementType
-
-
-
-
Constructor Detail
-
ZestLoopStateString
public ZestLoopStateString()
Instantiates a new zest loop state string.
-
ZestLoopStateString
public ZestLoopStateString(ZestLoopTokenStringSet initializationTokenSet)
Instantiates a new zest loop state string.- Parameters:
initializationTokenSet- the initialization token set
-
ZestLoopStateString
public ZestLoopStateString(String[] values)
Instantiates a new zest loop state string.- Parameters:
values- the values
-
-
Method Detail
-
increase
public boolean increase(ZestLoopTokenSet<String> set)
Description copied from class:ZestLoopStatethis increase the state and goes to the next state.- Specified by:
increasein classZestLoopState<String>- Parameters:
set- the set
-
deepCopy
public ZestLoopState<String> deepCopy()
Description copied from class:ZestElementDeep copy.- Specified by:
deepCopyin classZestLoopState<String>- Returns:
- the zest element
-
-