org.apache.jmeter.gui

## Class UndoHistoryItem

- java.lang.Object
- - org.apache.jmeter.gui.UndoHistoryItem

- All Implemented Interfaces:
    java.io.Serializable

      public class UndoHistoryItem
      extends java.lang.Object
      implements java.io.Serializable

  Undo history item
  Since:
    2.12
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `UndoHistoryItem()` Deprecated. DO NOT USE
    `UndoHistoryItem(HashTree copy, java.lang.String acomment, TreeState treeState, boolean dirty)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `getComment()`
    `HashTree` | `getTree()`
    `TreeState` | `getTreeState()`
    `boolean` | `isDirty()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### UndoHistoryItem

          @Deprecated
          public UndoHistoryItem()

      Deprecated. DO NOT USE
      This constructor is for Unit test purposes only

    - #### UndoHistoryItem

          public UndoHistoryItem(HashTree copy,
                                 java.lang.String acomment,
                                 TreeState treeState,
                                 boolean dirty)

      Parameters:
        `copy` - `HashTree`
        `acomment` - String
        `treeState` - `TreeState`
        `dirty` - boolean

  - ### Method Detail

    - #### isDirty

          public boolean isDirty()

    - #### getTreeState

          public TreeState getTreeState()

    - #### getTree

          public HashTree getTree()

      Returns:
        `HashTree`

    - #### getComment

          public java.lang.String getComment()

      Returns:
        String comment

Copyright © 1998-2019 Apache Software Foundation. All Rights Reserved.