Class P2ModelWrapper

java.lang.Object
com.diffplug.spotless.extra.P2ModelWrapper

public final class P2ModelWrapper extends Object
Wrapper for P2Model that exposes only the data needed for caching, without leaking the P2Model type to consumers.
  • Method Details

    • wrap

      public static P2ModelWrapper wrap(dev.equo.solstice.p2.P2Model model)
    • unwrap

      public dev.equo.solstice.p2.P2Model unwrap()
    • getP2Repos

      public Collection<String> getP2Repos()
    • getInstallList

      public Collection<String> getInstallList()
    • getFilterNames

      public Set<String> getFilterNames()
    • getPureMaven

      public Collection<String> getPureMaven()
    • isUseMavenCentral

      public boolean isUseMavenCentral()