lumis.upgrade
Class BuildConfig

Package class diagram package BuildConfig
java.lang.Object
  extended by lumis.upgrade.BuildConfig

public class BuildConfig
extends Object

Stores information about a upgrade build.

Since:
4.0.0

Field Summary
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
BuildConfig()
           
BuildConfig(Node buildNode)
          Creates a BuildConfig initializing its properties from the given build xml node.
 
Method Summary
 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()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

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)

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  6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.