Class AbstractCapabilityType
java.lang.Object
com.atlassian.bamboo.v2.build.agent.capability.AbstractCapabilityType
- All Implemented Interfaces:
CapabilityType,Comparable<CapabilityType>
- Direct Known Subclasses:
AbstractCapabilityTypeModule,AgentEnvironmentCapabilityType,BuilderCapabilityType,GenericCapabilityType,JdkCapabilityType,KubectlCapabilityType
All subclassses should have the same implementation of equals and compareTo
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintboolean@Nullable StringThe action name of the list view action of this capability typeinthashCode()toString()voidupdatePlanForNewLabel(@NotNull Buildable plan, @NotNull String oldLabel, @NotNull String newLabel) Perform custom work when the key has been updated.protected voidupdateTasksForNewLabel(Buildable plan, String keyToReplace, String oldLabel, String newLabel) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.atlassian.bamboo.v2.build.agent.capability.CapabilityType
getCapability, getCapabilityTypeKey, getCapabilityTypeLabel, getCapabilityTypeSpecificTaskConfigurationKey, getExtraInfo, getLabel, getNewKeyFromLabel, getSortOrder, getValueDescriptionKey, isAllowRename, validate
-
Constructor Details
-
AbstractCapabilityType
public AbstractCapabilityType()
-
-
Method Details
-
hashCode
public int hashCode() -
equals
-
compareTo
- Specified by:
compareToin interfaceComparable<CapabilityType>
-
toString
-
getViewTypeAction
Description copied from interface:CapabilityTypeThe action name of the list view action of this capability type- Specified by:
getViewTypeActionin interfaceCapabilityType- Returns:
-
updatePlanForNewLabel
public void updatePlanForNewLabel(@NotNull @NotNull Buildable plan, @NotNull @NotNull String oldLabel, @NotNull @NotNull String newLabel) Description copied from interface:CapabilityTypePerform custom work when the key has been updated.- Specified by:
updatePlanForNewLabelin interfaceCapabilityTypeoldLabel- label to replacenewLabel- new label
-
updateTasksForNewLabel
-