public class StringVariable extends Variable
Constructor and Description |
---|
StringVariable(String value)
Creates the variable
|
StringVariable(String value,
long expirationTime)
Creates the variable
|
Modifier and Type | Method and Description |
---|---|
Object |
get()
Gets the value of this variable.
|
String |
toString() |
ofType, ofType, ofType, shouldExpire, shouldSave, toType
public StringVariable(String value)
value
- the value of the variablepublic StringVariable(String value, long expirationTime)
value
- the value of the variableexpirationTime
- when (in millis) the variable should expireCopyright © 2020. All rights reserved.