com.atlassian.bamboo.v2.build.agent.capability
Class AbstractCapabilityType
java.lang.Object
com.atlassian.bamboo.v2.build.agent.capability.AbstractCapabilityType
- All Implemented Interfaces:
- CapabilityType, java.lang.Comparable<CapabilityType>
- Direct Known Subclasses:
- AbstractCapabilityTypeModule, BuilderCapabilityType, GenericCapabilityType, JdkCapabilityType, PerforceCapabilityType
public abstract class AbstractCapabilityType
- extends java.lang.Object
- implements CapabilityType
All subclassses should have the same implementation of equals & comapreTo
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
AbstractCapabilityType
public AbstractCapabilityType()
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
compareTo
public int compareTo(CapabilityType o)
- Specified by:
compareTo
in interface java.lang.Comparable<CapabilityType>
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getViewTypeAction
@Nullable
public java.lang.String getViewTypeAction()
- Description copied from interface:
CapabilityType
- The action name of the list view action of this capability type
- Specified by:
getViewTypeAction
in interface CapabilityType
- Returns:
updatePlanForNewLabel
public void updatePlanForNewLabel(@NotNull
Buildable plan,
@NotNull
java.lang.String oldLabel,
@NotNull
java.lang.String newLabel)
- Description copied from interface:
CapabilityType
- Perform custom work when the key has been updated.
- Specified by:
updatePlanForNewLabel
in interface CapabilityType
oldLabel
- label to replacenewLabel
- new label
updateTasksForNewLabel
protected void updateTasksForNewLabel(Buildable plan,
java.lang.String keyToReplace,
java.lang.String oldLabel,
java.lang.String newLabel)
Copyright © 2011 Atlassian. All Rights Reserved.