Class CLIUtilities
- java.lang.Object
-
- org.vx68k.bitbucket.api.client.cli.CLIUtilities
-
public final class CLIUtilities extends Object
Utilities for the CLI.- Since:
- 5.0
- Author:
- Kaz Nishimura
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
CLIUtilities()
Does nothing but denies direct instantiations.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
restoreTokens(BitbucketClient bitbucketClient)
Restores the token information from a persistent store.static void
saveTokens(BitbucketClient bitbucketClient)
Saves the token information to a persistent store.
-
-
-
Method Detail
-
saveTokens
public static void saveTokens(BitbucketClient bitbucketClient)
Saves the token information to a persistent store.- Parameters:
bitbucketClient
- a Bitbucket API client
-
restoreTokens
public static void restoreTokens(BitbucketClient bitbucketClient)
Restores the token information from a persistent store.- Parameters:
bitbucketClient
- a Bitbucket API client
-
-