Class DeploymentInfo


  • public final class DeploymentInfo
    extends Object
    Information regarding a deployment.
    • Constructor Detail

      • DeploymentInfo

        public DeploymentInfo()
    • Method Detail

      • deploymentFetchStatus

        public DeploymentFetchStatus deploymentFetchStatus()
        Get the deploymentFetchStatus property: Status while fetching the last deployment.
        Returns:
        the deploymentFetchStatus value.
      • withDeploymentFetchStatus

        public DeploymentInfo withDeploymentFetchStatus​(DeploymentFetchStatus deploymentFetchStatus)
        Set the deploymentFetchStatus property: Status while fetching the last deployment.
        Parameters:
        deploymentFetchStatus - the deploymentFetchStatus value to set.
        Returns:
        the DeploymentInfo object itself.
      • deployment

        public Deployment deployment()
        Get the deployment property: Deployment information.
        Returns:
        the deployment value.
      • withDeployment

        public DeploymentInfo withDeployment​(Deployment deployment)
        Set the deployment property: Deployment information.
        Parameters:
        deployment - the deployment value to set.
        Returns:
        the DeploymentInfo object itself.
      • message

        public String message()
        Get the message property: Additional details about the deployment that can be shown to the user.
        Returns:
        the message value.
      • withMessage

        public DeploymentInfo withMessage​(String message)
        Set the message property: Additional details about the deployment that can be shown to the user.
        Parameters:
        message - the message value to set.
        Returns:
        the DeploymentInfo object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.