Class DownloadStatsAdvice

  • All Implemented Interfaces:
    org.eclipse.equinox.p2.publisher.actions.IPropertyAdvice, org.eclipse.equinox.p2.publisher.IPublisherAdvice

    public class DownloadStatsAdvice
    extends java.lang.Object
    implements org.eclipse.equinox.p2.publisher.actions.IPropertyAdvice
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) static java.lang.String PROPERTY_NAME  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map<java.lang.String,​java.lang.String> getArtifactProperties​(org.eclipse.equinox.p2.metadata.IInstallableUnit iu, org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor descriptor)  
      java.util.Map<java.lang.String,​java.lang.String> getInstallableUnitProperties​(org.eclipse.equinox.p2.metadata.MetadataFactory.InstallableUnitDescription iu)  
      boolean isApplicable​(java.lang.String configSpec, boolean includeDefault, java.lang.String id, org.eclipse.equinox.p2.metadata.Version version)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DownloadStatsAdvice

        public DownloadStatsAdvice()
    • Method Detail

      • getInstallableUnitProperties

        public java.util.Map<java.lang.String,​java.lang.String> getInstallableUnitProperties​(org.eclipse.equinox.p2.metadata.MetadataFactory.InstallableUnitDescription iu)
        Specified by:
        getInstallableUnitProperties in interface org.eclipse.equinox.p2.publisher.actions.IPropertyAdvice
      • getArtifactProperties

        public java.util.Map<java.lang.String,​java.lang.String> getArtifactProperties​(org.eclipse.equinox.p2.metadata.IInstallableUnit iu,
                                                                                            org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor descriptor)
        Specified by:
        getArtifactProperties in interface org.eclipse.equinox.p2.publisher.actions.IPropertyAdvice
      • isApplicable

        public boolean isApplicable​(java.lang.String configSpec,
                                    boolean includeDefault,
                                    java.lang.String id,
                                    org.eclipse.equinox.p2.metadata.Version version)
        Specified by:
        isApplicable in interface org.eclipse.equinox.p2.publisher.IPublisherAdvice