public class

Scheme

extends Object
java.lang.Object
   ↳ com.atlassian.jira.scheme.Scheme

Class Overview

This object is used to represent a scheme in JIRA (this could be a permission, notification, etc, scheme). This object holds all the SchemeEntity's which are a part of this scheme.

Summary

Public Constructors
Scheme()
Scheme(String type, String name)
Scheme(Long id, String type, String name, Collection<SchemeEntity> entities)
Scheme(Long id, String type, String name, String description, Collection<SchemeEntity> entities)
Public Methods
void addEntity(SchemeEntity entity)
This method is deprecated. this class will be made immutable, create a new Scheme instead.
Scheme cloneScheme()
boolean containsSameEntities(Scheme other)
String getDescription()
Collection<SchemeEntity> getEntities()
List<SchemeEntity> getEntitiesByType(Object typeId)
Long getId()
String getName()
String getType()
void removeEntity(SchemeEntity entity)
This method is deprecated. this class will be made immutable, create a new Scheme instead.
void setDescription(String description)
This method is deprecated. this class will be made immutable, create a new Scheme instead.
void setEntities(Collection<SchemeEntity> entities)
This method is deprecated. this class will be made immutable, create a new Scheme instead.
void setId(Long id)
This method is deprecated. this class will be made immutable, create a new Scheme instead.
void setName(String name)
This method is deprecated. this class will be made immutable, create a new Scheme instead.
void setType(String type)
This method is deprecated. this class will be made immutable, create a new Scheme instead.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public Scheme ()

public Scheme (String type, String name)

public Scheme (Long id, String type, String name, Collection<SchemeEntity> entities)

public Scheme (Long id, String type, String name, String description, Collection<SchemeEntity> entities)

Public Methods

public void addEntity (SchemeEntity entity)

This method is deprecated.
this class will be made immutable, create a new Scheme instead.

public Scheme cloneScheme ()

public boolean containsSameEntities (Scheme other)

public String getDescription ()

public Collection<SchemeEntity> getEntities ()

public List<SchemeEntity> getEntitiesByType (Object typeId)

public Long getId ()

public String getName ()

public String getType ()

public void removeEntity (SchemeEntity entity)

This method is deprecated.
this class will be made immutable, create a new Scheme instead.

public void setDescription (String description)

This method is deprecated.
this class will be made immutable, create a new Scheme instead.

public void setEntities (Collection<SchemeEntity> entities)

This method is deprecated.
this class will be made immutable, create a new Scheme instead.

public void setId (Long id)

This method is deprecated.
this class will be made immutable, create a new Scheme instead.

public void setName (String name)

This method is deprecated.
this class will be made immutable, create a new Scheme instead.

public void setType (String type)

This method is deprecated.
this class will be made immutable, create a new Scheme instead.