public class AnonymizeUserTaskContext extends Object implements TaskContext
Modifier and Type | Field and Description |
---|---|
static AnonymizeUserTaskContext |
EMPTY
Used to retrieve a running anonymization task - never to schedule a new one.
|
Constructor and Description |
---|
AnonymizeUserTaskContext(String userKey,
boolean rerun) |
AnonymizeUserTaskContext(String userKey,
String userName,
boolean rerun) |
AnonymizeUserTaskContext(String userKey,
String userName,
String fullName,
boolean rerun) |
Modifier and Type | Method and Description |
---|---|
String |
buildProgressURL(Long taskId)
This factory method is called to build a progress URL so the TaskDescriptor can allow some one to navigate to the
task's "web page".
|
boolean |
equals(Object obj) |
String |
getFullName() |
String |
getUserKey() |
String |
getUserName() |
int |
hashCode() |
boolean |
isRerun() |
String |
toString() |
public static final AnonymizeUserTaskContext EMPTY
public AnonymizeUserTaskContext(@Nonnull String userKey, String userName, boolean rerun)
public boolean isRerun()
public String buildProgressURL(Long taskId)
TaskContext
buildProgressURL
in interface TaskContext
taskId
- - the id of the task. Since this is not known until task submission, this call back is informed of it once created.Copyright © 2002-2022 Atlassian. All Rights Reserved.