Class Updater.PluginResolutionResult

java.lang.Object
de.iip_ecosphere.platform.support.Updater.PluginResolutionResult
Enclosing class:
Updater

private static class Updater.PluginResolutionResult extends Object
Represents a plugin resolution result for a found plugin, potentially with Maven snapshot build number.
Author:
Holger Eichelberger, SSE
  • Field Details

  • Constructor Details

    • PluginResolutionResult

      private PluginResolutionResult(InputStream stream)
      Creates an instance for a resolved plugin given as input stream without build number.
      Parameters:
      stream - the plugin contents stream
    • PluginResolutionResult

      private PluginResolutionResult(InputStream stream, String buildNr)
      Creates an instance for a resolved plugin given as input stream with associated Maven build number.
      Parameters:
      stream - the plugin contents stream
      buildNr - the build number, may be null/empty for none
  • Method Details

    • hasBuildNr

      private boolean hasBuildNr()
      Returns whether this result has a build number.
      Returns:
      true for build number, false else