public class DynamicSegment extends Object
| Modifier and Type | Method | Description |
|---|---|---|
String |
createToken(String prefix,
org.tinylog.runtime.Timestamp timestamp) |
|
String |
getStaticText() |
|
static String |
getText() |
Returns the current dynamic text.
|
static void |
setText(String text) |
Sets a new dynamic text.
|
boolean |
validateToken(String token) |
public static String getText()
public static void setText(String text)
When used together with DynamicPolicy and the dynamic text differs from the current one,
a reset is triggered.
text - Dynamic text to setpublic String getStaticText()
public boolean validateToken(String token)
Copyright © 2026. All rights reserved.