com.partnersoft.staker.hub.commands
Interface HubCommand

All Known Implementing Classes:
AbstractHubCommand, AsynchronousHubCommand, PostFromConfigManager, RestartHub, ShutdownHub, UnpackMaps

public interface HubCommand


Method Summary
 java.lang.String getUserName()
          The user name or process initiating the command.
 void runCommand()
           
 void setUserName(java.lang.String newName)
          Set the user name or process initiating the command.
 

Method Detail

getUserName

java.lang.String getUserName()
The user name or process initiating the command.

Returns:
user name

setUserName

void setUserName(java.lang.String newName)
Set the user name or process initiating the command.


runCommand

void runCommand()
                throws java.lang.Exception
Throws:
java.lang.Exception