Class QuickFilterRuleEntity
- java.lang.Object
-
- com.atlassian.core.bean.EntityObject
-
- com.atlassian.bamboo.quickfilter.rule.QuickFilterRuleEntity
-
- All Implemented Interfaces:
BambooIdProvider
,BambooObject
,PluginKeyProvider
,QuickFilterRule
,NameProvider
,Cloneable
@Entity public class QuickFilterRuleEntity extends com.atlassian.core.bean.EntityObject implements QuickFilterRule
-
-
Constructor Summary
Constructors Constructor Description QuickFilterRuleEntity()
QuickFilterRuleEntity(@NotNull QuickFilter quickFilter, @NotNull String pluginKey, @NotNull String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull QuickFilterRuleEntity
copy()
Returns independent copy of this rule.@NotNull QuickFilterRuleEntity
copy(@NotNull QuickFilter quickFilter)
Returns independent copy of this rule.@NotNull Map<String,Object>
getConfiguration()
Configuration of this rule.@NotNull String
getName()
User assigned name of this rule.@NotNull String
getPluginKey()
Full plugin module key of this rule's type.@NotNull QuickFilter
getQuickFilter()
Quick filter, for which this rule has been defined.String
getSerializedConfig()
void
setConfiguration(@NotNull Map<String,Object> configuration)
Set configuration of this rule.void
setName(@NotNull String name)
Set the user assigned name of this rule.void
setPluginKey(@NotNull String pluginKey)
Set the full plugin module key of this rule's type.void
setQuickFilter(@NotNull QuickFilter quickFilter)
Set quick filter to which this rule is to be assigned.void
setSerializedConfig(String serializedConfig)
-
Methods inherited from class com.atlassian.core.bean.EntityObject
clone, equals, getCreationDate, getCurrentDate, getId, getLastModificationDate, hashCode, setClock, setCreationDate, setId, setLastModificationDate
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getId
-
Methods inherited from interface com.atlassian.bamboo.core.BambooObject
setId
-
-
-
-
Constructor Detail
-
QuickFilterRuleEntity
public QuickFilterRuleEntity()
-
QuickFilterRuleEntity
public QuickFilterRuleEntity(@NotNull @NotNull QuickFilter quickFilter, @NotNull @NotNull String pluginKey, @NotNull @NotNull String name)
-
-
Method Detail
-
copy
@NotNull public @NotNull QuickFilterRuleEntity copy()
Description copied from interface:QuickFilterRule
Returns independent copy of this rule.- Specified by:
copy
in interfaceQuickFilterRule
-
copy
@NotNull public @NotNull QuickFilterRuleEntity copy(@NotNull @NotNull QuickFilter quickFilter)
Description copied from interface:QuickFilterRule
Returns independent copy of this rule.- Specified by:
copy
in interfaceQuickFilterRule
- Parameters:
quickFilter
- quick filter to set as parent
-
getQuickFilter
@NotNull public @NotNull QuickFilter getQuickFilter()
Description copied from interface:QuickFilterRule
Quick filter, for which this rule has been defined.- Specified by:
getQuickFilter
in interfaceQuickFilterRule
-
setQuickFilter
public void setQuickFilter(@NotNull @NotNull QuickFilter quickFilter)
Description copied from interface:QuickFilterRule
Set quick filter to which this rule is to be assigned.- Specified by:
setQuickFilter
in interfaceQuickFilterRule
-
getPluginKey
@NotNull public @NotNull String getPluginKey()
Description copied from interface:QuickFilterRule
Full plugin module key of this rule's type.- Specified by:
getPluginKey
in interfacePluginKeyProvider
- Specified by:
getPluginKey
in interfaceQuickFilterRule
- Returns:
- full plugin module key
-
setPluginKey
public void setPluginKey(@NotNull @NotNull String pluginKey)
Description copied from interface:QuickFilterRule
Set the full plugin module key of this rule's type.- Specified by:
setPluginKey
in interfaceQuickFilterRule
-
getName
@NotNull public @NotNull String getName()
Description copied from interface:QuickFilterRule
User assigned name of this rule.- Specified by:
getName
in interfaceNameProvider
- Specified by:
getName
in interfaceQuickFilterRule
-
setName
public void setName(@NotNull @NotNull String name)
Description copied from interface:QuickFilterRule
Set the user assigned name of this rule.- Specified by:
setName
in interfaceQuickFilterRule
-
getConfiguration
@NotNull public @NotNull Map<String,Object> getConfiguration()
Description copied from interface:QuickFilterRule
Configuration of this rule. Values may only be strings or lists of strings.- Specified by:
getConfiguration
in interfaceQuickFilterRule
-
setConfiguration
public void setConfiguration(@NotNull @NotNull Map<String,Object> configuration)
Description copied from interface:QuickFilterRule
Set configuration of this rule. Values may only be strings or lists of strings.- Specified by:
setConfiguration
in interfaceQuickFilterRule
-
getSerializedConfig
public String getSerializedConfig()
-
setSerializedConfig
public void setSerializedConfig(String serializedConfig)
-
-