Package org.mozilla.zest.core.v1
Class ZestControlReturn
- java.lang.Object
-
- org.mozilla.zest.core.v1.ZestElement
-
- org.mozilla.zest.core.v1.ZestStatement
-
- org.mozilla.zest.core.v1.ZestControl
-
- org.mozilla.zest.core.v1.ZestControlReturn
-
public class ZestControlReturn extends ZestControl
Exits the script returning a string.
-
-
Field Summary
-
Fields inherited from class org.mozilla.zest.core.v1.ZestElement
JSON_ELEMENT_TYPE
-
-
Constructor Summary
Constructors Constructor Description ZestControlReturn()ZestControlReturn(int index)ZestControlReturn(String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ZestControlReturndeepCopy()Deep copy.StringgetValue()booleanisPassive()Checks if is passive.voidsetValue(String value)-
Methods inherited from class org.mozilla.zest.core.v1.ZestControl
isSameSubclass
-
Methods inherited from class org.mozilla.zest.core.v1.ZestStatement
getIndex, getNext, getPrevious, init, insertAfter, insertBefore, isEnabled, remove, setEnabled, setNext, setPrev
-
Methods inherited from class org.mozilla.zest.core.v1.ZestElement
getElementType, setElementType
-
-
-
-
Constructor Detail
-
ZestControlReturn
public ZestControlReturn()
-
ZestControlReturn
public ZestControlReturn(int index)
-
ZestControlReturn
public ZestControlReturn(String value)
-
-
Method Detail
-
deepCopy
public ZestControlReturn deepCopy()
Description copied from class:ZestElementDeep copy.- Specified by:
deepCopyin classZestStatement- Returns:
- the zest element
-
isPassive
public boolean isPassive()
Description copied from class:ZestStatementChecks if is passive.- Specified by:
isPassivein classZestStatement- Returns:
- true, if is passive
-
getValue
public String getValue()
-
setValue
public void setValue(String value)
-
-