Package org.mozilla.zest.core.v1
Class ZestComment
- java.lang.Object
-
- org.mozilla.zest.core.v1.ZestElement
-
- org.mozilla.zest.core.v1.ZestStatement
-
- org.mozilla.zest.core.v1.ZestComment
-
public class ZestComment extends ZestStatement
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 ZestComment()ZestComment(int index)ZestComment(String comment)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ZestCommentdeepCopy()Deep copy.StringgetComment()booleanisPassive()Checks if is passive.voidsetComment(String comment)-
Methods inherited from class org.mozilla.zest.core.v1.ZestStatement
getIndex, getNext, getPrevious, init, insertAfter, insertBefore, isEnabled, isSameSubclass, remove, setEnabled, setNext, setPrev
-
Methods inherited from class org.mozilla.zest.core.v1.ZestElement
getElementType, setElementType
-
-
-
-
Constructor Detail
-
ZestComment
public ZestComment()
-
ZestComment
public ZestComment(int index)
-
ZestComment
public ZestComment(String comment)
-
-
Method Detail
-
deepCopy
public ZestComment 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
-
getComment
public String getComment()
-
setComment
public void setComment(String comment)
-
-