Class IInstallableUnitUIServices.TrustAuthorityInfo
java.lang.Object
org.eclipse.equinox.p2.repository.metadata.spi.IInstallableUnitUIServices.TrustAuthorityInfo
- Enclosing interface:
- IInstallableUnitUIServices
Trust information returned from an authority trust request.
-
Constructor Summary
ConstructorDescriptionTrustAuthorityInfo
(Collection<URI> trustedAuthorities, boolean save, boolean trustAlways) -
Method Summary
Modifier and TypeMethodDescriptionReturns a collection of the authority URIs to be trusted for the requested operation.boolean
isSave()
Returns whether the trusted authority URIs should be persisted for future operations.boolean
Return whether to always trust all authorities, both during this operation and for all future operations.
-
Constructor Details
-
TrustAuthorityInfo
- Parameters:
trustedAuthorities
- the trusted authority URIs.save
- whether to store the trusted authority URIs.trustAlways
- whether to trust all authorities.
-
-
Method Details
-
getTrustedAuthorities
Returns a collection of the authority URIs to be trusted for the requested operation.- Returns:
- a collection of the authority URIs to be trusted for the requested operation.
-
isSave
public boolean isSave()Returns whether the trusted authority URIs should be persisted for future operations.- Returns:
- whether the trusted authority URIs should be persisted for future operations.
-
isTrustAlways
public boolean isTrustAlways()Return whether to always trust all authorities, both during this operation and for all future operations.- Returns:
- whether to always trust all authorities, both during this operation and for all future operations.
-