Class SoftwareBuildInfo

java.lang.Object
com.pnfsoftware.jeb.client.SoftwareBuildInfo

public class SoftwareBuildInfo extends Object
Description of a software build, including version number and channel type.
  • Constructor Details

    • SoftwareBuildInfo

      public SoftwareBuildInfo()
      Create an empty build information object.
    • SoftwareBuildInfo

      public SoftwareBuildInfo(Version version, int channel, int flags)
      Create a build information object.
      Parameters:
      version - build version
      channel - build channel
      flags - additional build flags
  • Method Details

    • setVersion

      public void setVersion(Version version)
      Set the build version.
      Parameters:
      version - build version
    • getVersion

      public Version getVersion()
      Get the build version.
      Returns:
      version of the available software build
    • setChannel

      public void setChannel(int channel)
      Set the build channel.
      Parameters:
      channel - channel on which the build is available
    • getChannel

      public int getChannel()
      Get the build channel.
      Returns:
      channel the build is made available on; refer to Version.
    • setFlags

      public void setFlags(int flags)
      Set additional build flags.
      Parameters:
      flags - build flags
    • getFlags

      public int getFlags()
      Get additional build flags.
      Returns:
      bit flags providing additional details about the build:
      1: a major update is available (example: version 4 to version 5)