public class ShutdownCommand extends SQLCommand
SHUTDOWN [MESSAGE msg]Usage
SHUTDOWN MESSAGE "Your system is being shut down remotely by Fred Blogs"THREAD MODE: SINGLE THREADED command
CURSOR_SIZE| Constructor and Description |
|---|
ShutdownCommand(Connection connection,
Pattern pattern)
Creates a new SchedulerPreferencesCommand
|
| Modifier and Type | Method and Description |
|---|---|
void |
execute(Parser parser)
Shuts down the system if the AREA property exists and is not set to PROD
|
java.lang.String |
getColumnName(int col)
Gets the col name
|
java.lang.String |
getColumnType(int col)
Gets the col type
|
java.lang.String |
getRecordID(int row)
Gets the record id
|
java.lang.Object |
getValue(int row,
int col)
Gets a cell value
|
protected void |
log(java.lang.String msg)
Log a message.
|
protected void |
shutdown()
Shutdown the system now.
|
appendResult, appendResult, getCursorName, getRecordKey, isExecuteOnlyexecute, extMakeThreadName, getConnection, getPattern, getRawTitle, getTitle, makeThreadName, recordCall, setTitleclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRawTitlepublic ShutdownCommand(Connection connection, Pattern pattern)
connection - the command connectionpattern - the command patternpublic void execute(Parser parser) throws java.lang.Exception
protected void shutdown()
protected void log(java.lang.String msg)
msg - the message.public java.lang.Object getValue(int row,
int col)
row - the cell rowcol - the cell colpublic java.lang.String getColumnType(int col)
col - the col to typepublic java.lang.String getColumnName(int col)
col - the col to namepublic java.lang.String getRecordID(int row)
row - the row to idstSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.