Future<Collection<Description>> testsBeforeShutdown =
timeout > 0 ? pc.scheduleShutdown( timeout, TimeUnit.SECONDS ) : null;
Future<Collection<Description>> testsBeforeForcedShutdown =
timeoutForced > 0 ? pc.scheduleForcedShutdown( timeoutForced, TimeUnit.SECONDS ) : null;
return new ComputerWrapper( pc, timeout, testsBeforeShutdown, timeoutForced, testsBeforeForcedShutdown );
}
private static class ComputerWrapper