public class

Scheme

extends Object
implements NamedWithDescription NamedWithId
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

[Expand]
Inherited Fields
From interface com.atlassian.jira.util.Named
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)
boolean equals(Object o)
String getDescription()
Collection<SchemeEntity> getEntities()
List<SchemeEntity> getEntitiesByType(Object typeId)
Long getId()
String getName()
String getType()
int hashCode()
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.
String toString()
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.util.Named
From interface com.atlassian.jira.util.NamedWithDescription
From interface com.atlassian.jira.util.NamedWithId

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 boolean equals (Object o)

public String getDescription ()

public Collection<SchemeEntity> getEntities ()

public List<SchemeEntity> getEntitiesByType (Object typeId)

public Long getId ()

public String getName ()

public String getType ()

public int hashCode ()

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.

public String toString ()