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.StringdescriptionDescription of this activity -
Method Summary
Modifier and Type Method Description voidappend(java.lang.String text)Append text to the activity descriptionvoidappend(java.lang.String textFormat, java.lang.Object... args)Append text to the activity descriptionvoidend()End this activity and remove it (and any descendants)voidnext(java.lang.String description)End this activity (and any descendants) and begin the next activity using the same activity handlevoidnext(java.lang.String descriptionFormat, java.lang.Object... args)End this activity (and any descendants) and begin the next activity using the same activity handleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
description
public java.lang.String descriptionDescription 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 appendargs- 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 formatargs- New activity description args
-