|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.drupal.project.computing.DCommand
org.drupal.project.computing.common.PingMe
@Identifier(value="PingMe") public class PingMe
This is a simple command that might be used in any DApplication.
| Field Summary |
|---|
| Fields inherited from class org.drupal.project.computing.DCommand |
|---|
application, logger, record |
| Constructor Summary | |
|---|---|
PingMe()
|
|
| Method Summary | |
|---|---|
protected void |
execute()
The execution of DCommand sub-class doesn't have to care about DRecord. |
void |
keepResults(DRecord record)
Saves command results back to the record. |
void |
mapArgs(java.lang.String[] args,
DRecord record)
Defines how to map the args to the given record. |
void |
mapRecord(DRecord record)
Defines how to map a record to the parameters in the command. |
| Methods inherited from class org.drupal.project.computing.DCommand |
|---|
after, before, call, create, create, getApplication, getDrupalSite, getIdentifier, getRecord, markProgress, markStatus, printMessage, run |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PingMe()
| Method Detail |
|---|
public void mapRecord(DRecord record)
DCommand
mapRecord in class DCommand
public void mapArgs(java.lang.String[] args,
DRecord record)
DCommand
mapArgs in class DCommandpublic void keepResults(DRecord record)
DCommand
keepResults in class DCommand
protected void execute()
throws DCommandExecutionException
DCommand
execute in class DCommandDCommandExecutionException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||