Class EndStateModel

All Implemented Interfaces:
Model

public class EndStateModel extends AbstractStateModel
Model support for end states.
Author:
Scott Andrews
  • Constructor Details

    • EndStateModel

      public EndStateModel(String id)
      Create an end state model
      Parameters:
      id - the state identifier
  • Method Details

    • isMergeableWith

      public boolean isMergeableWith(Model model)
      Description copied from interface: Model
      Determine if the model is able to be merged into the current model
      Parameters:
      model - the model to compare
      Returns:
      true if able to merge
    • merge

      public void merge(Model model)
      Description copied from interface: Model
      Merge the model into the current model
      Parameters:
      model - the model to merge with
    • createCopy

      public Model createCopy()
      Description copied from interface: Model
      Create a deep copy of this model. Needed when merging models and collections.
      Returns:
      a deep copy of this model
    • getView

      public String getView()
      Returns:
      the view
    • setView

      public void setView(String view)
      Parameters:
      view - the view factory to set
    • getCommit

      public String getCommit()
      Returns:
      the commit
    • setCommit

      public void setCommit(String commit)
      Parameters:
      commit - the commit to set
    • getOutputs

      public LinkedList<OutputModel> getOutputs()
      Returns:
      the outputs
    • setOutputs

      public void setOutputs(LinkedList<OutputModel> outputs)
      Parameters:
      outputs - the outputs to set