![JAR search and dependency download from the Maven repository](/logo.png)
io.toast.tk.runtime.repository.WebContainerRepository Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of toast-tk-runtime Show documentation
Show all versions of toast-tk-runtime Show documentation
Toast Toolkit Runtime Module contains covers:
- Test Source Adapters
- Test Parsing
- Test Execution
- Test Report generation
The newest version!
package io.toast.tk.runtime.repository;
import java.util.Collection;
import java.util.HashMap;
import java.util.Map;
import io.toast.tk.core.runtime.IFeedableWebPage;
import io.toast.tk.runtime.IRepository;
public class WebContainerRepository implements IRepository {
Map pages = new HashMap<>();
@Override
public IFeedableWebPage get(final String entityName) {
return pages.get(entityName);
}
@Override
public Collection getAll() {
return pages.values();
}
@Override
public void add(
final String entityName,
final IFeedableWebPage entity
) {
pages.put(entityName, entity);
}
@Override
public Map getMap() {
return pages;
}
@Override
public void setMap(final Map pages) {
this.pages = pages;
}
@Override
public void clear() {
pages.clear();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy