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