Package lumis.upgrade

Class BuildConfig


  • public class BuildConfig
    extends java.lang.Object
    Stores information about a upgrade build.
    Since:
    4.0.0
    Version:
    $Revision$ $Date$
    • 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 class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object