Package com.pnfsoftware.jeb.client
Class SoftwareBuildInfo
java.lang.Object
com.pnfsoftware.jeb.client.SoftwareBuildInfo
Description of a software build, including version number and channel type.
-
Constructor Summary
ConstructorsConstructorDescriptionCreate an empty build information object.SoftwareBuildInfo(Version version, int channel, int flags) Create a build information object. -
Method Summary
Modifier and TypeMethodDescriptionintGet the build channel.intgetFlags()Get additional build flags.Get the build version.voidsetChannel(int channel) Set the build channel.voidsetFlags(int flags) Set additional build flags.voidsetVersion(Version version) Set the build version.
-
Constructor Details
-
SoftwareBuildInfo
public SoftwareBuildInfo()Create an empty build information object. -
SoftwareBuildInfo
Create a build information object.- Parameters:
version- build versionchannel- build channelflags- additional build flags
-
-
Method Details
-
setVersion
Set the build version.- Parameters:
version- build 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)
-