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
ConstructorDescriptionQuickFilterRuleEntity
(@NotNull QuickFilter quickFilter, @NotNull String pluginKey, @NotNull String name) -
Method Summary
Modifier and TypeMethodDescription@NotNull QuickFilterRuleEntity
copy()
Returns independent copy of this rule.@NotNull QuickFilterRuleEntity
copy
(@NotNull QuickFilter quickFilter) Returns independent copy of this rule.Configuration of this rule.@NotNull String
getName()
User assigned name of this rule.@NotNull String
Full plugin module key of this rule's type.@NotNull QuickFilter
Quick filter, for which this rule has been defined.void
setConfiguration
(@NotNull Map<String, Object> configuration) Set configuration of this rule.void
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 Details
-
QuickFilterRuleEntity
public QuickFilterRuleEntity() -
QuickFilterRuleEntity
public QuickFilterRuleEntity(@NotNull @NotNull QuickFilter quickFilter, @NotNull @NotNull String pluginKey, @NotNull @NotNull String name)
-
-
Method Details
-
copy
Description copied from interface:QuickFilterRule
Returns independent copy of this rule.- Specified by:
copy
in interfaceQuickFilterRule
-
copy
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
Description copied from interface:QuickFilterRule
Quick filter, for which this rule has been defined.- Specified by:
getQuickFilter
in interfaceQuickFilterRule
-
setQuickFilter
Description copied from interface:QuickFilterRule
Set quick filter to which this rule is to be assigned.- Specified by:
setQuickFilter
in interfaceQuickFilterRule
-
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
Description copied from interface:QuickFilterRule
Set the full plugin module key of this rule's type.- Specified by:
setPluginKey
in interfaceQuickFilterRule
-
getName
Description copied from interface:QuickFilterRule
User assigned name of this rule.- Specified by:
getName
in interfaceNameProvider
- Specified by:
getName
in interfaceQuickFilterRule
-
setName
Description copied from interface:QuickFilterRule
Set the user assigned name of this rule.- Specified by:
setName
in interfaceQuickFilterRule
-
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
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
-
setSerializedConfig
-