45 lines
1.3 KiB
Java
45 lines
1.3 KiB
Java
package javax.baja.provisioningNiagara.station;
|
|
|
|
import javax.baja.fox.BFoxProxySession;
|
|
import javax.baja.platform.BStationStatus;
|
|
import javax.baja.platform.ICancelHint;
|
|
import javax.baja.platform.IPlatformOperationListener;
|
|
import javax.baja.platform.PlatformDaemon;
|
|
import javax.baja.sys.Context;
|
|
|
|
public interface ProvisioningStationManager {
|
|
boolean canReboot();
|
|
|
|
boolean canRestart();
|
|
|
|
boolean canStart();
|
|
|
|
BFoxProxySession getFoxSession() throws Exception;
|
|
|
|
PlatformDaemon getPlatformDaemon() throws Exception;
|
|
|
|
BStationStatus getStationStatus();
|
|
|
|
void killStation(IPlatformOperationListener iPlatformOperationListener) throws Exception;
|
|
|
|
void killStationAsync() throws Exception;
|
|
|
|
void poll(ICancelHint iCancelHint, Context context) throws Exception;
|
|
|
|
void rebootHost() throws Exception;
|
|
|
|
void restartStationAsync() throws Exception;
|
|
|
|
void saveStation(IPlatformOperationListener iPlatformOperationListener) throws Exception;
|
|
|
|
void saveStationAsync() throws Exception;
|
|
|
|
void startStation(IPlatformOperationListener iPlatformOperationListener) throws Exception;
|
|
|
|
void startStationAsync() throws Exception;
|
|
|
|
void stopStation(IPlatformOperationListener iPlatformOperationListener) throws Exception;
|
|
|
|
void stopStationAsync() throws Exception;
|
|
}
|