/** * Gets the named {@link DomainWrapper}. * * @param name the name. * @return the named {@link DomainWrapper}. */ @CheckForNull public DomainWrapper getDomain(String name) { return getDomains().get(name); }
/** * Gets the named {@link DomainWrapper}. * * @param name the name. * @return the named {@link DomainWrapper}. */ @CheckForNull public DomainWrapper getDomain(String name) { return getDomains().get(name); }
/** * The {@link CredentialsStoreAction.DomainWrapper} instances. * * @return the {@link CredentialsStoreAction.DomainWrapper} instances. */ public Map<String, CredentialsStoreAction.DomainWrapper> getWrappers() { CredentialsStoreAction action = store.getStoreAction(); return action != null ? action.getDomains() : new CredentialsStoreAction() { /** * {@inheritDoc} */ @NonNull @Override public CredentialsStore getStore() { return store; } }.getDomains(); }
/** * The {@link CredentialsStoreAction.DomainWrapper} instances. * * @return the {@link CredentialsStoreAction.DomainWrapper} instances. */ public Map<String, CredentialsStoreAction.DomainWrapper> getWrappers() { CredentialsStoreAction action = store.getStoreAction(); return action != null ? action.getDomains() : new CredentialsStoreAction() { /** * {@inheritDoc} */ @NonNull @Override public CredentialsStore getStore() { return store; } }.getDomains(); }