File tree Expand file tree Collapse file tree
src/main/java/es/upv/i3m/grycap/im Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -275,11 +275,14 @@ public void destroyInfrastructure(String infId) throws ImClientException {
275275 *
276276 * @param infId
277277 * : infrastructure id
278+ * @param force
279+ * : force parameter
278280 */
279- public void destroyInfrastructureAsync (String infId ) throws ImClientException {
281+ public void destroyInfrastructureAsync (String infId , boolean force ) throws ImClientException {
280282 RestParameter asyncParameter = createCallParameters (REST_PARAMETER_NAME_ASYNC , true );
283+ RestParameter forceParameter = createCallParameters ("force" , force );
281284 getImClient ().delete (PATH_INFRASTRUCTURES + PATH_SEPARATOR + infId ,
282- String .class , asyncParameter );
285+ String .class , asyncParameter , forceParameter );
283286 }
284287
285288 /**
You can’t perform that action at this time.
0 commit comments