Represents the current process (instance of the virtual machine).
language
, runtime
, system
, operatingSystem
no subtypes hierarchy
Attributes | |
arguments | Source Codeshared String[] arguments The command line arguments to the virtual machine. |
string | Source Codeshared actual String string A developer-friendly string representing the instance.
Concatenates the name of the concrete class of the
instance with the Refines Object.string |
Inherited Attributes |
Attributes inherited from: Object |
Methods | |
environmentVariableValue | Source Codeshared String? environmentVariableValue(String name) The value of the given environment variable defined for the current virtual machine process. Since 1.2.0 |
exit | Source Codeshared Nothing exit(Integer code) Force the virtual machine to terminate with the given exit code. |
flush | Source Codeshared void flush() Flush the standard output of the virtual machine process. |
flushError | Source Codeshared void flushError() Flush the standard error of the virtual machine process. |
namedArgumentPresent | Source Codeshared Boolean namedArgumentPresent(String name) Determine if an argument of form |
namedArgumentValue | Source Codeshared String? namedArgumentValue(String name) The value of the first argument of form |
propertyValue | Source Codeshared String? propertyValue(String name) The value of the given system property of the virtual machine, if any. |
readLine | Source Codeshared String? readLine() Read a line of input text from the standard input of
the virtual machine process. Returns a line of text
after removal of line-termination characters, or |
write | Source Codeshared void write(String string) Print a string to the standard output of the virtual machine process. |
writeError | Source Codeshared void writeError(String string) Print a string to the standard error of the virtual machine process. |
writeErrorLine | Source Codeshared void writeErrorLine(String line = "") Print a line to the standard error of the virtual machine process. Parameters:
|
writeLine | Source Codeshared void writeLine(String line = "") Print a line to the standard output of the virtual machine process. Parameters:
See also print() |
Inherited Methods |
Methods inherited from: Object |