|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.scheme.Scheme
public class Scheme
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.
Constructor Summary | |
---|---|
Scheme()
|
|
Scheme(Long id,
String type,
String name,
Collection<SchemeEntity> entities)
|
|
Scheme(Long id,
String type,
String name,
String description,
Collection<SchemeEntity> entities)
|
|
Scheme(String type,
String name)
|
Method Summary | |
---|---|
void |
addEntity(SchemeEntity entity)
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)
Deprecated. this class will be made immutable, create a new Scheme instead. |
void |
setDescription(String description)
Deprecated. this class will be made immutable, create a new Scheme instead. |
void |
setEntities(Collection<SchemeEntity> entities)
Deprecated. this class will be made immutable, create a new Scheme instead. |
void |
setId(Long id)
Deprecated. this class will be made immutable, create a new Scheme instead. |
void |
setName(String name)
Deprecated. this class will be made immutable, create a new Scheme instead. |
void |
setType(String type)
Deprecated. this class will be made immutable, create a new Scheme instead. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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)
Method Detail |
---|
public String getType()
public void setType(String type)
type
- public String getName()
public void setName(String name)
name
- public Collection<SchemeEntity> getEntities()
public void setEntities(Collection<SchemeEntity> entities)
entities
- public void addEntity(SchemeEntity entity)
entity
- public void removeEntity(SchemeEntity entity)
entity
- public boolean containsSameEntities(Scheme other)
public Scheme cloneScheme()
public Long getId()
public void setId(Long id)
id
- public String getDescription()
public void setDescription(String description)
description
- public List<SchemeEntity> getEntitiesByType(Object typeId)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |