/** * Returns the generated artifacts object from the specified deployment * context, creating it there if it does not already exist. * @param app * @return */ public static Artifacts generatedArtifacts(final DeploymentContext dc) { return Artifacts.get(dc, GENERATED_ARTIFACTS_KEY_PREFIX); }
/** * Returns the downloadable artifacts object from the specified deployment * context, creating it there if it does not already exist. * @param dc the deployment context from which to fetch the downloadable Artifacts object * @return */ public static Artifacts downloadableArtifacts(final DeploymentContext dc) { return Artifacts.get(dc, DOWNLOADABLE_ARTIFACTS_KEY_PREFIX); }
/** * Returns the generated artifacts object derived from the properties * saved with the specified Application * @param app the Application config object with (possibly) properties describing generated artifacts * @return */ public static Artifacts generatedArtifacts(final Application app) { return Artifacts.get(app.getDeployProperties(), GENERATED_ARTIFACTS_KEY_PREFIX); }
/** * Returns the downloadable artifacts object derived from the properties * saved with the specified Application * @param app the Application config object with (possibly) properties describing downloadable artifacts * @return */ public static Artifacts downloadableArtifacts(final Application app) { return Artifacts.get(app.getDeployProperties(), DOWNLOADABLE_ARTIFACTS_KEY_PREFIX); }