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 protected
Adapter(BitbucketIssueTrackerProxy repository)
Initializes the object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener.RepositoryController
getController()
Returns the controller object for a repository.String
getDisplayName()
Returns the display name for the repository.String
getFullName()
Returns the full name of the repository.String
getId()
Returns the identifier of the repository.BitbucketIssueTracker
getIssueTracker()
Returns the issue tracker for the full name if found.BitbucketIssueTrackerProxy
getRepository()
Returns the repository.String
getTooltip()
Returns the tooltip text for the repository.void
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener.void
resetController()
Reset the controller object.void
setDisplayName(String newValue)
Sets the display name for the repository.void
setFullName(String newValue)
Sets the full name for the repository.void
setId(String newValue)
Sets the identifier for the repository.void
setTooltip(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
-
-