Package dev.equo.solstice.p2
Class P2Model
java.lang.Object
dev.equo.solstice.p2.P2Model
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanIf false, do not use maven central to resolve dependencies, just use the configured p2 reposstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddFilterAndValidate(String filterName, P2Model.Filter filter) voidaddFilterAndValidate(String filterName, Consumer<P2Model.Filter> filterSetup) voidvoidApplies a filter named `platform-specific-for-running` which selects artifacts for the running platform iff there are no other platform-related filters so far.deepCopy()booleaninthashCode()booleanisEmpty()query(P2ClientCache clientCachingPolicy, P2QueryCache queryCachingPolicy) queryRaw(P2ClientCache cachingPolicy) voidremoveFilter(String name) toString()voidEnsures there are no conflicts between the existing filters.
-
Field Details
-
useMavenCentral
public boolean useMavenCentralIf false, do not use maven central to resolve dependencies, just use the configured p2 repos -
WILDCARD
- See Also:
-
-
Constructor Details
-
P2Model
public P2Model()
-
-
Method Details
-
getP2repo
-
getInstall
-
getFilters
-
getPureMaven
-
isEmpty
public boolean isEmpty() -
addP2Repo
-
applyNativeFilterIfNoPlatformFilter
public void applyNativeFilterIfNoPlatformFilter()Applies a filter named `platform-specific-for-running` which selects artifacts for the running platform iff there are no other platform-related filters so far. -
deepCopy
-
queryRaw
- Throws:
Exception
-
query
-
validateFilters
public void validateFilters()Ensures there are no conflicts between the existing filters. -
addFilterAndValidate
-
addFilterAndValidate
-
removeFilter
-
toString
-
equals
-
hashCode
public int hashCode()
-