Class BitbucketRepositoryProvider.Adapter
- java.lang.Object
-
- org.vx68k.netbeans.module.bitbucket.BitbucketRepositoryProvider.Adapter
-
- Enclosing class:
- BitbucketRepositoryProvider
public static final class BitbucketRepositoryProvider.Adapter extends Object
Repository adapter.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAdapter(BitbucketIssueTrackerProxy repository)Initializes the object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddPropertyChangeListener(PropertyChangeListener listener)Adds a property change listener.RepositoryControllergetController()Returns the controller object for a repository.StringgetDisplayName()Returns the display name for the repository.StringgetFullName()Returns the full name of the repository.StringgetId()Returns the identifier of the repository.BitbucketIssueTrackergetIssueTracker()Returns the issue tracker for the full name if found.BitbucketIssueTrackerProxygetRepository()Returns the repository.StringgetTooltip()Returns the tooltip text for the repository.voidremovePropertyChangeListener(PropertyChangeListener listener)Removes a property change listener.voidresetController()Reset the controller object.voidsetDisplayName(String newValue)Sets the display name for the repository.voidsetFullName(String newValue)Sets the full name for the repository.voidsetId(String newValue)Sets the identifier for the repository.voidsetTooltip(String newValue)Sets the tooltip text for the repository.
-
-
-
Constructor Detail
-
Adapter
protected Adapter(BitbucketIssueTrackerProxy repository)
Initializes the object.- Parameters:
repository- a repository
-
-
Method Detail
-
getRepository
public BitbucketIssueTrackerProxy getRepository()
Returns the repository.- Returns:
- the repository
-
getId
public String getId()
Returns the identifier of the repository.- Returns:
- the identifier for the repository
-
setId
public void setId(String newValue)
Sets the identifier for the repository.- Parameters:
newValue- a new value of the identifier
-
getFullName
public String getFullName()
Returns the full name of the repository.- Returns:
- the full name for the repository
-
setFullName
public void setFullName(String newValue)
Sets the full name for the repository.- Parameters:
newValue- a new value of the full name
-
getDisplayName
public String getDisplayName()
Returns the display name for the repository.- Returns:
- the display name for the repository
-
setDisplayName
public void setDisplayName(String newValue)
Sets the display name for the repository.- Parameters:
newValue- a new value of the display name
-
getTooltip
public String getTooltip()
Returns the tooltip text for the repository.- Returns:
- the tooltip text for the repository
-
setTooltip
public void setTooltip(String newValue)
Sets the tooltip text for the repository.- Parameters:
newValue- a new value of the tooltip text
-
getIssueTracker
public BitbucketIssueTracker getIssueTracker()
Returns the issue tracker for the full name if found.- Returns:
- the issue tracker for the full name if found; [@code null} otherwise
-
getController
public RepositoryController getController()
Returns the controller object for a repository.- Returns:
- controller object
-
resetController
public void resetController()
Reset the controller object.
-
addPropertyChangeListener
public void addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener.- Parameters:
listener- property change listener to add
-
removePropertyChangeListener
public void removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener.- Parameters:
listener- property change listener to remove
-
-