Class BuildTransaction

java.lang.Object
me.c7dev.dexterity.transaction.BuildTransaction
All Implemented Interfaces:
Transaction

public class BuildTransaction extends Object implements Transaction
  • Constructor Details

  • Method Details

    • isPossible

      public boolean isPossible()
      Specified by:
      isPossible in interface Transaction
    • isUndone

      public boolean isUndone()
      Specified by:
      isUndone in interface Transaction
    • isCommitted

      public boolean isCommitted()
      Specified by:
      isCommitted in interface Transaction
    • addBlock

      public void addBlock(DexBlock db)
    • removeBlock

      public void removeBlock(DexBlock db)
    • size

      public int size()
    • commit

      public void commit()
    • getDisplayUniqueId

      public UUID getDisplayUniqueId()
    • undo

      public DexterityDisplay undo()
      Specified by:
      undo in interface Transaction
    • redo

      public void redo()
      Specified by:
      redo in interface Transaction