public static class WarpScriptStack.Macro extends java.lang.Object implements SNAPSHOT.Snapshotable
| Constructor and Description |
|---|
Macro() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(java.lang.Object o) |
void |
addAll(WarpScriptStack.Macro macro) |
java.lang.Object |
get(int idx) |
long |
getFingerprint() |
java.lang.String |
getName() |
boolean |
isExpired() |
boolean |
isSecure() |
void |
setExpiry(long expiry) |
void |
setFingerprint(long fingerprint) |
void |
setName(java.lang.String name) |
void |
setNameRecursive(java.lang.String name)
Set the name of the current macro and set the same name for
all included macros which do not have a name
|
void |
setSecure(boolean secure) |
void |
setSecureRecursive(boolean secure)
Set the secure flag of the current macro and set the same flag for
all included macros.
|
void |
setSize(int size) |
int |
size() |
java.lang.String |
snapshot() |
java.lang.String |
snapshot(boolean hideSecure) |
java.util.List<java.lang.Object> |
statements() |
java.lang.String |
toString() |
public boolean isExpired()
public java.lang.String toString()
toString in class java.lang.Objectpublic void add(java.lang.Object o)
public java.lang.Object get(int idx)
public int size()
public void setSize(int size)
public java.util.List<java.lang.Object> statements()
public void addAll(WarpScriptStack.Macro macro)
public void setSecure(boolean secure)
public void setSecureRecursive(boolean secure)
secure - public boolean isSecure()
public long getFingerprint()
public void setFingerprint(long fingerprint)
public void setExpiry(long expiry)
public void setName(java.lang.String name)
public void setNameRecursive(java.lang.String name)
name - public java.lang.String getName()
public java.lang.String snapshot()
snapshot in interface SNAPSHOT.Snapshotablepublic java.lang.String snapshot(boolean hideSecure)