public final enum

InvocationOutcome

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.atlassian.bitbucket.webhook.history.InvocationOutcome

Class Overview

Specifies the possible outcomes of a webhook invocation

Summary

Enum Values
InvocationOutcome  ERROR  Indicates an invocation resulted in a failure to make a HTTP request or an unexpected error processing the response  
InvocationOutcome  FAILURE  Indicates an invocation resulted in a HTTP request being made and a response being received with a code indicating delivery failure e.g. 
InvocationOutcome  SUCCESS  Indicates an invocation resulted in a HTTP request being made and a response being received with a status in the 200 range  
Public Methods
static InvocationOutcome valueOf(String name)
final static InvocationOutcome[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final InvocationOutcome ERROR

Indicates an invocation resulted in a failure to make a HTTP request or an unexpected error processing the response

public static final InvocationOutcome FAILURE

Indicates an invocation resulted in a HTTP request being made and a response being received with a code indicating delivery failure e.g. 400, 500

public static final InvocationOutcome SUCCESS

Indicates an invocation resulted in a HTTP request being made and a response being received with a status in the 200 range

Public Methods

public static InvocationOutcome valueOf (String name)

public static final InvocationOutcome[] values ()