/** * Places into the outgoing payload the downloadable artifacts for an application. * @param context the admin command context for the command currently running * @param app the application of interest * @param targetLocalDir the client-specified local directory to receive the downloaded files * @param reportErrorsInTopReport whether to include error indications in the report's top-level */ public static void retrieveArtifacts(final AdminCommandContext context, final Application app, final String targetLocalDir, final boolean reportErrorsInTopReport) { retrieveArtifacts(context, DeploymentUtils.downloadableArtifacts(app).getArtifacts(), targetLocalDir, reportErrorsInTopReport); }
/** * Places into the outgoing payload the downloadable artifacts for an application. * @param context the admin command context for the command currently running * @param app the application of interest * @param targetLocalDir the client-specified local directory to receive the downloaded files * @param reportErrorsInTopReport whether to include error indications in the report's top-level */ public static void retrieveArtifacts(final AdminCommandContext context, final Application app, final String targetLocalDir, final boolean reportErrorsInTopReport) { retrieveArtifacts(context, DeploymentUtils.downloadableArtifacts(app).getArtifacts(), targetLocalDir, reportErrorsInTopReport, app.getName()); }
DeploymentUtils.downloadableArtifacts(deploymentContext); final Artifacts generatedArtifacts = DeploymentUtils.generatedArtifacts(deploymentContext);
DeploymentUtils.downloadableArtifacts(deploymentContext); final Artifacts generatedArtifacts = DeploymentUtils.generatedArtifacts(deploymentContext);