Class PlatformDeploymentProperties

java.lang.Object
org.odpi.openmetadata.accessservices.devops.properties.ConfigurationItemRelationshipProperties
org.odpi.openmetadata.accessservices.devops.properties.PlatformDeploymentProperties

public class PlatformDeploymentProperties extends ConfigurationItemRelationshipProperties
PlatformDeploymentProperties describes the properties for the SoftwareServerPlatformDeployment relationship between a Software Server Platform and a Host.
  • Constructor Details

    • PlatformDeploymentProperties

      public PlatformDeploymentProperties()
      Default constructor
    • PlatformDeploymentProperties

      public PlatformDeploymentProperties(PlatformDeploymentProperties template)
      Copy/clone constructor
      Parameters:
      template - object to copy
  • Method Details

    • getDeploymentTime

      public Date getDeploymentTime()
      Return the time that the platform was deployed into the host.
      Returns:
      date/time
    • setDeploymentTime

      public void setDeploymentTime(Date deploymentTime)
      Set up the time that the platform was deployed into the host.
      Parameters:
      deploymentTime - date/time
    • getDeployer

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

      public void setDeployer(String deployer)
      Set up the userId of the deployer.
      Parameters:
      deployer - name
    • getPlatformDeploymentStatus

      public OperationalStatus getPlatformDeploymentStatus()
      Return whether the platform is ready to use.
      Returns:
      operational status enum
    • setPlatformDeploymentStatus

      public void setPlatformDeploymentStatus(OperationalStatus platformDeploymentStatus)
      Set up whether the platform is ready to use.
      Parameters:
      platformDeploymentStatus - operational status enum
    • toString

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

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

      public int hashCode()
      Hash code for this object
      Overrides:
      hashCode in class ConfigurationItemRelationshipProperties
      Returns:
      int