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
Constructor Summary |
BuildConfig()
|
BuildConfig(Node buildNode)
Creates a BuildConfig initializing its properties from the given
build xml node. |
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
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
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)
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
Lumisportal 5.5.0.091130 - Copyright © 2001-2007, Lumis. All Rights Reserved.