*/
@Override
public <I extends DeployInstance>
I subrequest(DeployController<I> controller)
{
LifecycleState state = controller.getState();
if (state.isIdle()) {
// server/1d07
return controller.startImpl();
}
else if (state.isStopped()) {
// server/1d01
return controller.getDeployInstance();
}
else if (state.isError() && controller.isModified()) {
// server/1d0x
return controller.restartImpl();
}
else if (controller.isModified()) {
// server/1d0j