Class DeploymentProperties

  • All Implemented Interfaces:
    java.io.Serializable

    public class DeploymentProperties
    extends RelationshipProperties
    DeploymentProperties describes the properties for the DeployedOn relationship between an IT Infrastructure asset and a destination asset.
    See Also:
    Serialized Form
    • Constructor Detail

      • DeploymentProperties

        public DeploymentProperties()
        Default constructor
      • DeploymentProperties

        public DeploymentProperties​(DeploymentProperties template)
        Copy/clone constructor
        Parameters:
        template - object to copy
      • DeploymentProperties

        public DeploymentProperties​(java.util.Map<java.lang.String,​java.lang.Object> properties,
                                    java.util.Date effectiveFrom,
                                    java.util.Date effectiveTo)
        Copy/clone constructor
        Parameters:
        properties - property map
        effectiveFrom - effective from
        effectiveTo - effective to
    • Method Detail

      • cloneToMap

        public java.util.Map<java.lang.String,​java.lang.Object> cloneToMap()
        Turn the properties into a property map.
        Returns:
        property map.
      • getDeploymentTime

        public java.util.Date getDeploymentTime()
        Return the time that the capability was deployed into the server.
        Returns:
        date/time
      • setDeploymentTime

        public void setDeploymentTime​(java.util.Date deploymentTime)
        Set up the time that the capability was deployed into the server.
        Parameters:
        deploymentTime - date/time
      • getDeployer

        public java.lang.String getDeployer()
        Return the userId of the deployer.
        Returns:
        name
      • setDeployer

        public void setDeployer​(java.lang.String deployer)
        Set up the userId of the deployer.
        Parameters:
        deployer - name
      • getDeployerTypeName

        public java.lang.String getDeployerTypeName()
        Return the type name of the element used to represent the deployer.
        Returns:
        string name
      • setDeployerTypeName

        public void setDeployerTypeName​(java.lang.String deployerTypeName)
        Set up the type name of the element used to represent the deployer.
        Parameters:
        deployerTypeName - string name
      • getDeployerPropertyName

        public java.lang.String getDeployerPropertyName()
        Return the property name from the element used to represent the deployer.
        Returns:
        string name
      • setDeployerPropertyName

        public void setDeployerPropertyName​(java.lang.String deployerPropertyName)
        Set up the property name from the element used to represent the deployer.
        Parameters:
        deployerPropertyName - string name
      • getDeploymentStatus

        public OperationalStatus getDeploymentStatus()
        Return whether the capability is ready to use.
        Returns:
        operational status enum
      • setDeploymentStatus

        public void setDeploymentStatus​(OperationalStatus deploymentStatus)
        Set up whether the capability is ready to use.
        Parameters:
        deploymentStatus - operational status enum
      • toString

        public java.lang.String toString()
        JSON-style toString.
        Overrides:
        toString in class RelationshipProperties
        Returns:
        list of properties and their values.
      • equals

        public boolean equals​(java.lang.Object objectToCompare)
        Equals method that returns true if containing properties are the same.
        Overrides:
        equals in class RelationshipProperties
        Parameters:
        objectToCompare - object to compare
        Returns:
        boolean result of comparison