public class SignaturePlaceholderContext extends Object
SignaturePlaceholderData
in/from a thread local context.Modifier and Type | Method and Description |
---|---|
static SignaturePlaceholderData |
getSignaturePlaceholderData()
Get the
SignaturePlaceholderData which is currently bound to this thread. |
static boolean |
isSignaturePlaceholderDataSet() |
static void |
setSignaturePlaceholderData(SignaturePlaceholderData data)
Bind a
SignaturePlaceholderData to this thread. |
public static SignaturePlaceholderData getSignaturePlaceholderData()
SignaturePlaceholderData
which is currently bound to this thread.
Might be null.public static boolean isSignaturePlaceholderDataSet()
SignaturePlaceholderData
bound to this thread, false otherwise.public static void setSignaturePlaceholderData(SignaturePlaceholderData data)
SignaturePlaceholderData
to this thread.
If the given data is null, the context will be cleared.data
- if null, clears the ThreadLocal, else binds the data to the current thread.