Package lumis.upgrade
Class BuildConfig
- java.lang.Object
-
- lumis.upgrade.BuildConfig
-
public class BuildConfig extends Object
Stores information about a upgrade build.- Since:
- 4.0.0
- Version:
- $Revision: 8289 $ $Date: 2007-09-24 17:46:32 -0300 (Mon, 24 Sep 2007) $
-
-
Field Summary
Fields Modifier and Type Field Description static String
DEFAULT_BUILD_NUMBER
static int
DEFAULT_BUILD_SEQUENCE
static int
DEFAULT_MAJOR_VERSION
static int
DEFAULT_MINOR_VERSION
static int
DEFAULT_RELEASE_VERSION
static int
DEFAULT_STEPS_NUMBER
-
Constructor Summary
Constructors Constructor Description BuildConfig()
BuildConfig(Node buildNode)
Creates a BuildConfig initializing its properties from the given build xml node.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getArea()
String
getBuildNumber()
int
getBuildSequence()
String
getId()
int
getMajorVersion()
String
getMessage()
String
getMessageType()
int
getMinorVersion()
int
getReleaseVersion()
Returns the release version of this build.int
getSteps()
Timestamp
getUpgradeDate()
int
hashCode()
void
setArea(String area)
void
setBuildNumber(String buildNumber)
void
setBuildSequence(int buildSequence)
void
setId(String id)
void
setMajorVersion(int majorVersion)
void
setMessage(String confirmMessage)
void
setMessageType(String confirmMessageType)
void
setMinorVersion(int minorVersion)
void
setReleaseVersion(int releaseVersion)
Sets the release version of this build.void
setSteps(int steps)
void
setUpgradeDate(Timestamp upgradeDate)
String
toString()
-
-
-
Field Detail
-
DEFAULT_MAJOR_VERSION
public static final int DEFAULT_MAJOR_VERSION
- See Also:
- Constant Field Values
-
DEFAULT_MINOR_VERSION
public static final int DEFAULT_MINOR_VERSION
- See Also:
- Constant Field Values
-
DEFAULT_RELEASE_VERSION
public static final int DEFAULT_RELEASE_VERSION
- See Also:
- Constant Field Values
-
DEFAULT_BUILD_NUMBER
public static final String DEFAULT_BUILD_NUMBER
- See Also:
- Constant Field Values
-
DEFAULT_BUILD_SEQUENCE
public static final int DEFAULT_BUILD_SEQUENCE
- See Also:
- Constant Field Values
-
DEFAULT_STEPS_NUMBER
public static final int DEFAULT_STEPS_NUMBER
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
BuildConfig
public BuildConfig()
-
BuildConfig
public BuildConfig(Node buildNode) throws PortalException
Creates a BuildConfig initializing its properties from the given build xml node.- Parameters:
buildNode
- the build's xml node.- Throws:
PortalException
- Since:
- 4.0.11
-
-
Method Detail
-
getMajorVersion
public int getMajorVersion()
- Returns:
- Returns the majorVersion.
-
getMinorVersion
public int getMinorVersion()
- Returns:
- Returns the minorVersion.
-
getReleaseVersion
public int getReleaseVersion()
Returns the release version of this build.- Returns:
- the release version.
-
getBuildNumber
public String getBuildNumber()
- Returns:
- Returns the buildNumber.
-
getBuildSequence
public int getBuildSequence()
- Returns:
- Returns the buildSequence.
-
getMessage
public String getMessage()
- Returns:
- Returns the message.
-
getMessageType
public String getMessageType()
- Returns:
- Returns the messageType.
-
getArea
public String getArea()
- Returns:
- Returns the area.
-
getSteps
public int getSteps()
- Returns:
- Returns the steps.
-
setMajorVersion
public void setMajorVersion(int majorVersion)
- Parameters:
majorVersion
-
-
setMinorVersion
public void setMinorVersion(int minorVersion)
- Parameters:
minorVersion
-
-
setReleaseVersion
public void setReleaseVersion(int releaseVersion)
Sets the release version of this build.- Parameters:
releaseVersion
- the new release version for this build.
-
setBuildNumber
public void setBuildNumber(String buildNumber)
- Parameters:
buildNumber
-
-
setBuildSequence
public void setBuildSequence(int buildSequence)
- Parameters:
buildSequence
-
-
setMessage
public void setMessage(String confirmMessage)
- Parameters:
confirmMessage
-
-
setMessageType
public void setMessageType(String confirmMessageType)
- Parameters:
confirmMessageType
-
-
setArea
public void setArea(String area)
- Parameters:
area
-
-
setSteps
public void setSteps(int steps)
- Parameters:
steps
-
-
getId
public String getId()
-
setId
public void setId(String id)
-
getUpgradeDate
public Timestamp getUpgradeDate()
-
setUpgradeDate
public void setUpgradeDate(Timestamp upgradeDate)
-
-