@Override protected void handleApplicationRun(ClientApplicationRunner<ApplicationId> app) { ApplicationId applicationId = app.run(); handleOutput("New instance submitted with id " + applicationId); }
@Override protected void handleApplicationRun(ClientApplicationRunner<String> app) { app.run(); handleOutput("New version installed"); }
/** * Handles run of {@link ClientApplicationRunner}. * * @param app the app * @param args the args */ protected void handleApplicationRun(ClientApplicationRunner<R> app, String... args) { R run = app.run(args); if (run != null) { handleOutput(run.toString()); } }