Class LongTaskStatus.LongTaskBuilder
- java.lang.Object
-
- com.atlassian.confluence.api.model.longtasks.LongTaskStatus.LongTaskBuilder
-
- Enclosing class:
- LongTaskStatus
public static class LongTaskStatus.LongTaskBuilder extends Object
-
-
Constructor Summary
Constructors Constructor Description LongTaskBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LongTaskStatus.LongTaskBuilder
addMessage(Message message)
LongTaskStatus
build()
LongTaskStatus.LongTaskBuilder
elapsedTime(long elapsedTime)
LongTaskStatus.LongTaskBuilder
id(LongTaskId id)
LongTaskStatus.LongTaskBuilder
name(Message name)
LongTaskStatus.LongTaskBuilder
percentageComplete(int percentageComplete)
LongTaskStatus.LongTaskBuilder
successful(boolean successful)
-
-
-
Method Detail
-
id
public LongTaskStatus.LongTaskBuilder id(LongTaskId id)
-
name
public LongTaskStatus.LongTaskBuilder name(Message name)
-
elapsedTime
public LongTaskStatus.LongTaskBuilder elapsedTime(long elapsedTime)
-
percentageComplete
public LongTaskStatus.LongTaskBuilder percentageComplete(int percentageComplete)
-
successful
public LongTaskStatus.LongTaskBuilder successful(boolean successful)
-
addMessage
public LongTaskStatus.LongTaskBuilder addMessage(Message message)
-
build
public LongTaskStatus build()
-
-