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 java.lang.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 java.lang.StringdescriptionDescription of this activity
-
Method Summary
All Methods Instance Methods Concrete Methods 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 handle
-
-
-
Method Detail
-
append
public void append(java.lang.String text)
Append text to the activity description- Specified by:
appendin interfaceIActivityContext.IActivity- Parameters:
text- Text to append
-
append
public void append(java.lang.String textFormat, java.lang.Object... args)Append text to the activity description- Specified by:
appendin interfaceIActivityContext.IActivity- Parameters:
textFormat- Format for text to appendargs- Format args
-
end
public void end()
End this activity and remove it (and any descendants)- Specified by:
endin interfaceIActivityContext.IActivity
-
next
public void next(java.lang.String description)
End this activity (and any descendants) and begin the next activity using the same activity handle- Specified by:
nextin interfaceIActivityContext.IActivity- 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- Specified by:
nextin interfaceIActivityContext.IActivity- Parameters:
descriptionFormat- New activity description formatargs- New activity description args
-
-