Class AbstractCommand
- java.lang.Object
-
- org.vx68k.bitbucket.api.client.cli.AbstractCommand
-
- All Implemented Interfaces:
Command
- Direct Known Subclasses:
CommandGroup
,LoginCommand
,LogoutCommand
public abstract class AbstractCommand extends Object implements Command
Abstract super-object for commands.- Since:
- 5.0
- Author:
- Kaz Nishimura
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractCommand(BitbucketClient bitbucketClient)
Constructs the object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BitbucketClient
getBitbucketClient()
Returns the Bitbucket API client.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.vx68k.bitbucket.api.client.cli.Command
getDescription, run
-
-
-
-
Constructor Detail
-
AbstractCommand
protected AbstractCommand(BitbucketClient bitbucketClient)
Constructs the object.- Parameters:
bitbucketClient
- a Bitbucket API client
-
-
Method Detail
-
getBitbucketClient
public final BitbucketClient getBitbucketClient()
Returns the Bitbucket API client.- Returns:
- the Bitbucket API client
-
-