public class AgentEnvironmentCapabilityType extends AbstractCapabilityType implements ReadOnlyCapabilityType
| Constructor and Description |
|---|
AgentEnvironmentCapabilityType() |
| Modifier and Type | Method and Description |
|---|---|
@NotNull Capability |
getCapability(@NotNull Map<String,String[]> params)
Returns a new capability given the action params map
|
@NotNull String |
getCapabilityTypeKey()
The key for the type typically lower case
|
@NotNull String |
getCapabilityTypeLabel()
Human readable version of the key
|
@Nullable String |
getExtraInfo(@NotNull String key)
Displayed after the label
|
@NotNull String |
getLabel(@NotNull String key)
The display label
|
@NotNull String |
getNewKeyFromLabel(@NotNull String oldKey,
@NotNull String label)
From the key and label, return a new key.
|
int |
getSortOrder()
Specifies how early in the UI the type should be shown
|
@Nullable String |
getValueDescriptionKey(@NotNull String key,
@Nullable String value)
Given the key and value, show any custom description for the value
|
boolean |
isAllowRename()
Can you rename the key for this type
|
@NotNull Map<String,String> |
validate(@NotNull Map<String,String[]> params)
Validate given an action params map.
|
compareTo, equals, getViewTypeAction, hashCode, toString, updatePlanForNewLabel, updateTasksForNewLabelclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetCapabilityTypeSpecificTaskConfigurationKeypublic int getSortOrder()
CapabilityTypegetSortOrder in interface CapabilityType@NotNull public @NotNull String getCapabilityTypeKey()
CapabilityTypegetCapabilityTypeKey in interface CapabilityType@NotNull public @NotNull String getCapabilityTypeLabel()
CapabilityTypegetCapabilityTypeLabel in interface CapabilityType@NotNull public @NotNull Map<String,String> validate(@NotNull @NotNull Map<String,String[]> params)
CapabilityTypevalidate in interface CapabilityType@NotNull public @NotNull Capability getCapability(@NotNull @NotNull Map<String,String[]> params)
CapabilityTypegetCapability in interface CapabilityType@NotNull public @NotNull String getLabel(@NotNull @NotNull String key)
CapabilityTypegetLabel in interface CapabilityType@Nullable public @Nullable String getExtraInfo(@NotNull @NotNull String key)
CapabilityTypegetExtraInfo in interface CapabilityType@Nullable public @Nullable String getValueDescriptionKey(@NotNull @NotNull String key, @Nullable @Nullable String value)
CapabilityTypegetValueDescriptionKey in interface CapabilityTypepublic boolean isAllowRename()
CapabilityTypeisAllowRename in interface CapabilityType@NotNull public @NotNull String getNewKeyFromLabel(@NotNull @NotNull String oldKey, @NotNull @NotNull String label)
CapabilityTypegetNewKeyFromLabel in interface CapabilityTypeCopyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.