public class

DistilledSchemeResult

extends Object
java.lang.Object
   ↳ com.atlassian.jira.scheme.distiller.DistilledSchemeResult

Class Overview

Represents the result of a 'distilling' opertion of the SchemeDistiller. This will contain the original schemes that contained the same SchemeEntity's as each other and it will contain the new resulting 'distilled' scheme. This will also contain the type of scheme we are dealing with (i.e. notification, permission, etc).

Summary

Public Constructors
DistilledSchemeResult(String type, Collection originalSchemes, Map schemeToProjects, Scheme resultingScheme)
Public Methods
Set getAllAssociatedProjects()
This will return all the unique projects that the original schemes were associated with.
Collection getAssociatedProjectsForScheme(Scheme scheme)
Collection getOriginalSchemes()
Scheme getResultingScheme()
String getResultingSchemeTempName()
String getType()
boolean isSelected()
void setOriginalSchemes(Collection originalSchemes)
void setResultingScheme(Scheme resultingScheme)
void setResultingSchemeTempName(String resultingSchemeTempName)
void setSelected(boolean selected)
void setType(String type)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public DistilledSchemeResult (String type, Collection originalSchemes, Map schemeToProjects, Scheme resultingScheme)

Public Methods

public Set getAllAssociatedProjects ()

This will return all the unique projects that the original schemes were associated with.

Returns
  • unique set of projects

public Collection getAssociatedProjectsForScheme (Scheme scheme)

public Collection getOriginalSchemes ()

public Scheme getResultingScheme ()

public String getResultingSchemeTempName ()

public String getType ()

public boolean isSelected ()

public void setOriginalSchemes (Collection originalSchemes)

public void setResultingScheme (Scheme resultingScheme)

public void setResultingSchemeTempName (String resultingSchemeTempName)

public void setSelected (boolean selected)

public void setType (String type)