Class ComponentObject

  • All Implemented Interfaces:
    Serializable, IDeployObject

    public class ComponentObject
    extends Object
    Component object.
    Since:
    8.1.0
    Version:
    $Revision: 21880 $ $Date: 2018-09-21 17:07:19 -0300 (Fri, 21 Sep 2018) $
    See Also:
    Serialized Form
    • Method Detail

      • getRawVersion

        public String getRawVersion()
        Returns the raw version.
        Returns:
        the raw version.
        Since:
        8.1.0
      • getDescription

        public String getDescription()
        Returns the description.
        Returns:
        the description.
        Since:
        8.1.0
      • getPublicFilesChannelId

        public String getPublicFilesChannelId()
        Returns the channel identifier used to discover the public files website directory.
        Returns:
        the public files channelId.
        Since:
        11.0.0
      • getSourcePath

        public String getSourcePath()
        Returns the source path.
        Returns:
        the source path.
        Since:
        8.1.0
      • getReplaceNode

        public Node getReplaceNode()
        Returns the replace node.
        Returns:
        the replace node.
        Since:
        8.1.0
      • getId

        public String getId()
        Description copied from interface: IDeployObject
        Returns the identifier of this object.
        Specified by:
        getId in interface IDeployObject
        Returns:
        the identifier of this object.
      • setId

        public IDeployObject setId​(String id)
        Description copied from interface: IDeployObject
        Sets the identifier of this object.
        Specified by:
        setId in interface IDeployObject
        Parameters:
        id - the identifier of this object.
        Returns:
        this object.
      • getChecksum

        public String getChecksum()
        Description copied from interface: IDeployObject
        Returns the checksum of this object.
        Specified by:
        getChecksum in interface IDeployObject
        Returns:
        the checksum of this object.
      • setChecksum

        public IDeployObject setChecksum​(String checksum)
        Description copied from interface: IDeployObject
        Sets the checksum of this object.
        Specified by:
        setChecksum in interface IDeployObject
        Parameters:
        checksum - the checksum of this object.
        Returns:
        this object.
      • setChecksumListener

        public <T extends lumis.portal.deployment.process.IChecksumListener> IDeployObject setChecksumListener​(T listener)
        Description copied from interface: IDeployObject
        Sets the checksum listener of this object.
        Specified by:
        setChecksumListener in interface IDeployObject
        Parameters:
        listener - the checksum listener of this object.
        Returns:
        this object.
      • getChecksumListener

        public <T extends lumis.portal.deployment.process.IChecksumListener> T getChecksumListener()
        Description copied from interface: IDeployObject
        Returns the checksum listener of this object.
        Specified by:
        getChecksumListener in interface IDeployObject
        Returns:
        the checksum listener of this object.
      • isStoreChecksum

        public boolean isStoreChecksum()
        Description copied from interface: IDeployObject
        Indicates whether the checksum of this object should be stored.
        Specified by:
        isStoreChecksum in interface IDeployObject
        Returns:
        whether the checksum of this object should be stored.
      • setStoreChecksum

        public IDeployObject setStoreChecksum​(boolean isStoreChecksum)
        Description copied from interface: IDeployObject
        Sets whether the checksum of this object should be stored.
        Specified by:
        setStoreChecksum in interface IDeployObject
        Parameters:
        isStoreChecksum - whether the checksum of this object should be stored.
        Returns:
        this object.
      • find

        public Collection<IDeployObject> find​(IDeployObject.ObjectType type,
                                              EnumSet<IDeployObject.ObjectType> allowedInnerObjects)
        Description copied from interface: IDeployObject
        Find all objects of the given type in subtree, but discards subtrees when their root type is not contained in the given set.
        Specified by:
        find in interface IDeployObject
        Parameters:
        type - the type to be search.
        allowedInnerObjects - the allowed inner objects types.
        Returns:
        all objects of the given type in subtree, but discards subtrees when their root type is not contained in the given set.
      • accumulateChecksum

        public boolean accumulateChecksum()
        Description copied from interface: IDeployObject
        Indicates whether the checksum of this object should accumulate the subtree.
        Specified by:
        accumulateChecksum in interface IDeployObject
        Returns:
        whether the checksum of this object should accumulate the subtree.