Class ActivityStack.Activity

java.lang.Object
org.spongepowered.asm.mixin.transformer.ActivityStack.Activity
All Implemented Interfaces:
IActivityContext.IActivity
Enclosing class:
ActivityStack

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

    Fields
    Modifier and Type
    Field
    Description
    Description of this activity
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    append(String text)
    Append text to the activity description
    void
    append(String textFormat, Object... args)
    Append text to the activity description
    void
    end()
    End this activity and remove it (and any descendants)
    void
    next(String description)
    End this activity (and any descendants) and begin the next activity using the same activity handle
    void
    next(String descriptionFormat, 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 String description
      Description of this activity
  • Method Details

    • append

      public void append(String text)
      Append text to the activity description
      Specified by:
      append in interface IActivityContext.IActivity
      Parameters:
      text - Text to append
    • append

      public void append(String textFormat, Object... args)
      Append text to the activity description
      Specified by:
      append in interface IActivityContext.IActivity
      Parameters:
      textFormat - Format for text to append
      args - Format args
    • end

      public void end()
      End this activity and remove it (and any descendants)
      Specified by:
      end in interface IActivityContext.IActivity
    • next

      public void next(String description)
      End this activity (and any descendants) and begin the next activity using the same activity handle
      Specified by:
      next in interface IActivityContext.IActivity
      Parameters:
      description - New activity description
    • next

      public void next(String descriptionFormat, Object... args)
      End this activity (and any descendants) and begin the next activity using the same activity handle
      Specified by:
      next in interface IActivityContext.IActivity
      Parameters:
      descriptionFormat - New activity description format
      args - New activity description args