public final enum

JobMessageSeverity

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.atlassian.bitbucket.job.JobMessageSeverity

Class Overview

The severity of messages generated for jobs

Summary

Enum Values
JobMessageSeverity  ERROR   
JobMessageSeverity  INFO   
JobMessageSeverity  WARN   
Public Methods
@Nonnull static JobMessageSeverity fromId(int id)
int getId()
static JobMessageSeverity valueOf(String name)
final static JobMessageSeverity[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final JobMessageSeverity ERROR

public static final JobMessageSeverity INFO

public static final JobMessageSeverity WARN

Public Methods

@Nonnull public static JobMessageSeverity fromId (int id)

Parameters
id the unique identifier for the type (not its ordinal())
Returns
  • the matching type
Throws
IllegalArgumentException if the specified ID does not match a type

public int getId ()

public static JobMessageSeverity valueOf (String name)

public static final JobMessageSeverity[] values ()