Package lumis.upgrade
Class BuildConfig
- java.lang.Object
-
- lumis.upgrade.BuildConfig
-
public class BuildConfig extends java.lang.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 java.lang.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(org.w3c.dom.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(java.lang.Object obj)
java.lang.String
getArea()
java.lang.String
getBuildNumber()
int
getBuildSequence()
java.lang.String
getId()
int
getMajorVersion()
java.lang.String
getMessage()
java.lang.String
getMessageType()
int
getMinorVersion()
int
getReleaseVersion()
Returns the release version of this build.int
getSteps()
java.sql.Timestamp
getUpgradeDate()
int
hashCode()
void
setArea(java.lang.String area)
void
setBuildNumber(java.lang.String buildNumber)
void
setBuildSequence(int buildSequence)
void
setId(java.lang.String id)
void
setMajorVersion(int majorVersion)
void
setMessage(java.lang.String confirmMessage)
void
setMessageType(java.lang.String confirmMessageType)
void
setMinorVersion(int minorVersion)
void
setReleaseVersion(int releaseVersion)
Sets the release version of this build.void
setSteps(int steps)
void
setUpgradeDate(java.sql.Timestamp upgradeDate)
java.lang.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 java.lang.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(org.w3c.dom.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 java.lang.String getBuildNumber()
- Returns:
- Returns the buildNumber.
-
getBuildSequence
public int getBuildSequence()
- Returns:
- Returns the buildSequence.
-
getMessage
public java.lang.String getMessage()
- Returns:
- Returns the message.
-
getMessageType
public java.lang.String getMessageType()
- Returns:
- Returns the messageType.
-
getArea
public java.lang.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(java.lang.String buildNumber)
- Parameters:
buildNumber
-
-
setBuildSequence
public void setBuildSequence(int buildSequence)
- Parameters:
buildSequence
-
-
setMessage
public void setMessage(java.lang.String confirmMessage)
- Parameters:
confirmMessage
-
-
setMessageType
public void setMessageType(java.lang.String confirmMessageType)
- Parameters:
confirmMessageType
-
-
setArea
public void setArea(java.lang.String area)
- Parameters:
area
-
-
setSteps
public void setSteps(int steps)
- Parameters:
steps
-
-
getId
public java.lang.String getId()
-
setId
public void setId(java.lang.String id)
-
getUpgradeDate
public java.sql.Timestamp getUpgradeDate()
-
setUpgradeDate
public void setUpgradeDate(java.sql.Timestamp upgradeDate)
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-