public class

SecuritySchemeJsonBean

extends Object
java.lang.Object
   ↳ com.atlassian.jira.issue.fields.rest.json.beans.SecuritySchemeJsonBean

Class Overview

Bean representing an issue security scheme with issue security levels.

Summary

Public Constructors
SecuritySchemeJsonBean(String self, Long id, String name, String description)
Public Methods
static List<SecuritySchemeJsonBean> fromIssueSecuritySchemes(List<IssueSecurityLevelScheme> schemes, JiraBaseUrls urls)
static SecuritySchemeJsonBean fullBean(IssueSecurityLevelScheme securityLevelScheme, JiraBaseUrls urls, Collection<IssueSecurityLevel> levels)
Long getDefaultSecurityLevelId()
String getDescription()
Long getId()
Collection<SecurityLevelJsonBean> getLevels()
String getName()
static String getSelf(String baseUrl, String encodedId)
String getSelf()
void setDefaultSecurityLevelId(Long defaultSecurityLevelId)
void setDescription(String description)
void setId(Long id)
void setLevels(Collection<SecurityLevelJsonBean> levels)
void setName(String name)
void setSelf(String self)
static SecuritySchemeJsonBean shortBean(IssueSecurityLevelScheme securityLevelScheme, JiraBaseUrls urls)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public SecuritySchemeJsonBean (String self, Long id, String name, String description)

Public Methods

public static List<SecuritySchemeJsonBean> fromIssueSecuritySchemes (List<IssueSecurityLevelScheme> schemes, JiraBaseUrls urls)

public static SecuritySchemeJsonBean fullBean (IssueSecurityLevelScheme securityLevelScheme, JiraBaseUrls urls, Collection<IssueSecurityLevel> levels)

public Long getDefaultSecurityLevelId ()

public String getDescription ()

public Long getId ()

public Collection<SecurityLevelJsonBean> getLevels ()

public String getName ()

public static String getSelf (String baseUrl, String encodedId)

public String getSelf ()

public void setDefaultSecurityLevelId (Long defaultSecurityLevelId)

public void setDescription (String description)

public void setId (Long id)

public void setLevels (Collection<SecurityLevelJsonBean> levels)

public void setName (String name)

public void setSelf (String self)

public static SecuritySchemeJsonBean shortBean (IssueSecurityLevelScheme securityLevelScheme, JiraBaseUrls urls)