Class ActivityStack.Activity

java.lang.Object
org.spongepowered.asm.mixin.transformer.ActivityStack.Activity
Enclosing class:
ActivityStack

public class ActivityStack.Activity
extends java.lang.Object
An activity node in the activity stack (yes it's actually a doubly-linked list).
  • Field Summary

    Fields
    Modifier and Type Field Description
    java.lang.String description
    Description of this activity
  • Method Summary

    Modifier and Type Method Description
    void append​(java.lang.String text)
    Append text to the activity description
    void append​(java.lang.String textFormat, java.lang.Object... args)
    Append text to the activity description
    void end()
    End this activity and remove it (and any descendants)
    void next​(java.lang.String description)
    End this activity (and any descendants) and begin the next activity using the same activity handle
    void next​(java.lang.String descriptionFormat, java.lang.Object... args)
    End this activity (and any descendants) and begin the next activity using the same activity handle

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • description

      public java.lang.String description
      Description of this activity
  • Method Details

    • append

      public void append​(java.lang.String text)
      Append text to the activity description
      Parameters:
      text - Text to append
    • append

      public void append​(java.lang.String textFormat, java.lang.Object... args)
      Append text to the activity description
      Parameters:
      textFormat - Format for text to append
      args - Format args
    • end

      public void end()
      End this activity and remove it (and any descendants)
    • next

      public void next​(java.lang.String description)
      End this activity (and any descendants) and begin the next activity using the same activity handle
      Parameters:
      description - New activity description
    • next

      public void next​(java.lang.String descriptionFormat, java.lang.Object... args)
      End this activity (and any descendants) and begin the next activity using the same activity handle
      Parameters:
      descriptionFormat - New activity description format
      args - New activity description args