Class ActionState

    • Constructor Detail

      • ActionState

        public ActionState()
    • Method Detail

      • setActionName

        public void setActionName​(String actionName)

        The name of the action.

        Parameters:
        actionName - The name of the action.
      • getActionName

        public String getActionName()

        The name of the action.

        Returns:
        The name of the action.
      • withActionName

        public ActionState withActionName​(String actionName)

        The name of the action.

        Parameters:
        actionName - The name of the action.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setCurrentRevision

        public void setCurrentRevision​(ActionRevision currentRevision)
        Parameters:
        currentRevision -
      • getCurrentRevision

        public ActionRevision getCurrentRevision()
        Returns:
      • withCurrentRevision

        public ActionState withCurrentRevision​(ActionRevision currentRevision)
        Parameters:
        currentRevision -
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setLatestExecution

        public void setLatestExecution​(ActionExecution latestExecution)
        Parameters:
        latestExecution -
      • getLatestExecution

        public ActionExecution getLatestExecution()
        Returns:
      • withLatestExecution

        public ActionState withLatestExecution​(ActionExecution latestExecution)
        Parameters:
        latestExecution -
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setEntityUrl

        public void setEntityUrl​(String entityUrl)

        A URL link for more information about the state of the action, such as a deployment group details page.

        Parameters:
        entityUrl - A URL link for more information about the state of the action, such as a deployment group details page.
      • getEntityUrl

        public String getEntityUrl()

        A URL link for more information about the state of the action, such as a deployment group details page.

        Returns:
        A URL link for more information about the state of the action, such as a deployment group details page.
      • withEntityUrl

        public ActionState withEntityUrl​(String entityUrl)

        A URL link for more information about the state of the action, such as a deployment group details page.

        Parameters:
        entityUrl - A URL link for more information about the state of the action, such as a deployment group details page.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setRevisionUrl

        public void setRevisionUrl​(String revisionUrl)

        A URL link for more information about the revision, such as a commit details page.

        Parameters:
        revisionUrl - A URL link for more information about the revision, such as a commit details page.
      • getRevisionUrl

        public String getRevisionUrl()

        A URL link for more information about the revision, such as a commit details page.

        Returns:
        A URL link for more information about the revision, such as a commit details page.
      • withRevisionUrl

        public ActionState withRevisionUrl​(String revisionUrl)

        A URL link for more information about the revision, such as a commit details page.

        Parameters:
        revisionUrl - A URL link for more information about the revision, such as a commit details page.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object