@Test public void getDetailsNull() throws IllegalArgumentException, IllegalAccessException { final CreateSecondaryStagingStoreCmd cmd = new CreateSecondaryStagingStoreCmd(); ApiCmdTestUtil.set(cmd, "details", null); Assert.assertNull(cmd.getDetails()); }
public Map<String, String> getDetails() { Map<String, String> detailsMap = null; if (details != null && !details.isEmpty()) { detailsMap = new HashMap<>(); for (final Map<String, String> detail : details.values()) { detailsMap.put(detail.get("key"), detail.get("value")); } } return detailsMap; }
CreateSecondaryStagingStoreCmd extends BaseCmd { public Map<String, String> getDetails() { Map<String, String> detailsMap = null; if (details != null && !details.isEmpty()) { detailsMap = new HashMap<>(); for (final Map<String, String> detail : details.values()) { detailsMap.put(detail.get("key"), detail.get("value")); } } return detailsMap; } }
CreateSecondaryStagingStoreCmd extends BaseCmd { public Map<String, String> getDetails() { Map<String, String> detailsMap = null; if (details != null && !details.isEmpty()) { detailsMap = new HashMap<>(); for (final Map<String, String> detail : details.values()) { detailsMap.put(detail.get("key"), detail.get("value")); } } return detailsMap; }  }
CreateSecondaryStagingStoreCmd extends BaseCmd { public Map<String, String> getDetails() { Map<String, String> detailsMap = null; if (details != null && !details.isEmpty()) { detailsMap = new HashMap<>(); for (final Map<String, String> detail : details.values()) { detailsMap.put(detail.get("key"), detail.get("value")); } } return detailsMap; }  String getUrl(); Long getZoneId(); Map<String, String> getDetails(); String getScope(); String getProviderName(); @Override void execute(); @Override String getCommandName(); @Override long getEntityOwnerId(); }
CreateSecondaryStagingStoreCmd extends BaseCmd { public Map<String, String> getDetails() { Map<String, String> detailsMap = null; if (details != null && !details.isEmpty()) { detailsMap = new HashMap<>(); for (final Map<String, String> detail : details.values()) { detailsMap.put(detail.get("key"), detail.get("value")); } } return detailsMap; }  String getUrl(); Long getZoneId(); Map<String, String> getDetails(); String getScope(); String getProviderName(); @Override void execute(); @Override String getCommandName(); @Override long getEntityOwnerId(); static final Logger s_logger; }