@PublicApi public class ManagedConfigurationItemBuilder extends Object
ManagedConfigurationItem
.ManagedConfigurationItem.newBuilder()
Constructor and Description |
---|
ManagedConfigurationItemBuilder() |
Modifier and Type | Method and Description |
---|---|
ManagedConfigurationItem |
build() |
static ManagedConfigurationItemBuilder |
builder(ManagedConfigurationItem source) |
ManagedConfigurationItemBuilder |
setConfigurationItemAccessLevel(ConfigurationItemAccessLevel configurationItemAccessLevel)
Set the
ConfigurationItemAccessLevel for this item |
ManagedConfigurationItemBuilder |
setDescriptionI18nKey(String descriptionI18nKey)
Set the description key
|
ManagedConfigurationItemBuilder |
setId(Long id) |
ManagedConfigurationItemBuilder |
setItemId(String itemId) |
ManagedConfigurationItemBuilder |
setItemType(ManagedConfigurationItemType itemType) |
ManagedConfigurationItemBuilder |
setManaged(boolean managed)
Set whether this item is managed or not
|
ManagedConfigurationItemBuilder |
setSource(com.atlassian.plugin.Plugin plugin)
Set the owner/manager of the item
|
ManagedConfigurationItemBuilder |
setSource(String source) |
public static ManagedConfigurationItemBuilder builder(ManagedConfigurationItem source)
public ManagedConfigurationItemBuilder setId(Long id)
public ManagedConfigurationItemBuilder setItemId(String itemId)
public ManagedConfigurationItemBuilder setItemType(ManagedConfigurationItemType itemType)
public ManagedConfigurationItemBuilder setManaged(boolean managed)
managed
- the flagpublic ManagedConfigurationItemBuilder setConfigurationItemAccessLevel(ConfigurationItemAccessLevel configurationItemAccessLevel)
ConfigurationItemAccessLevel
for this itemconfigurationItemAccessLevel
- the levelpublic ManagedConfigurationItemBuilder setSource(com.atlassian.plugin.Plugin plugin)
plugin
- the plugin who owns/manages this itempublic ManagedConfigurationItemBuilder setSource(String source)
public ManagedConfigurationItemBuilder setDescriptionI18nKey(String descriptionI18nKey)
descriptionI18nKey
- the keypublic ManagedConfigurationItem build()
ManagedConfigurationItem
.Copyright © 2002-2015 Atlassian. All Rights Reserved.