Class AgentQueueAccessor.QueueAccessResult
- java.lang.Object
-
- com.atlassian.bamboo.v2.build.queue.AgentQueueAccessor.QueueAccessResult
-
- All Implemented Interfaces:
Serializable
- Enclosing interface:
- AgentQueueAccessor
public static class AgentQueueAccessor.QueueAccessResult extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable CommonContext
getContext()
@Nullable String
getError()
boolean
isTimedOut()
static AgentQueueAccessor.QueueAccessResult
timedOut()
static AgentQueueAccessor.QueueAccessResult
withContext(@NotNull CommonContext context)
static AgentQueueAccessor.QueueAccessResult
withError(@NotNull String throwable)
-
-
-
Method Detail
-
withContext
public static AgentQueueAccessor.QueueAccessResult withContext(@NotNull @NotNull CommonContext context)
-
withError
public static AgentQueueAccessor.QueueAccessResult withError(@NotNull @NotNull String throwable)
-
timedOut
public static AgentQueueAccessor.QueueAccessResult timedOut()
-
getContext
@Nullable public @Nullable CommonContext getContext()
-
getError
@Nullable public @Nullable String getError()
-
isTimedOut
public boolean isTimedOut()
-
-