if (retrieve != null && retrieve.exists()) { outboundPayload = PayloadImpl.Outbound.newInstance(); inv.outbound(outboundPayload);
/** * Executes the command. * * @param context information */ public void execute(AdminCommandContext context) { final ActionReport report = context.getActionReport(); if (!validateParameters(name, report)) { return; } final ParameterMap paramMap; final ParameterMapExtractor extractor = new ParameterMapExtractor(this); try { paramMap = extractor.extract(excludedDeployCommandParamNames); } catch (IllegalArgumentException ex) { throw new RuntimeException(ex); } catch (IllegalAccessException ex) { throw new RuntimeException(ex); } paramMap.set("force", String.valueOf(true)); CommandRunner.CommandInvocation inv = commandRunner.getCommandInvocation("deploy", report); inv.parameters(paramMap).inbound(context.getInboundPayload()).outbound(context.getOutboundPayload()).execute(); }
if (retrieve != null && retrieve.exists()) { outboundPayload = PayloadImpl.Outbound.newInstance(); inv.outbound(outboundPayload);
inv.parameters(parameters).inbound(inboundPayload).outbound(outboundPayload).execute(); try {