Class CLIUtilities


  • public final class CLIUtilities
    extends Object
    Utilities for the CLI.
    Since:
    5.0
    Author:
    Kaz Nishimura
    • Constructor Detail

      • CLIUtilities

        protected CLIUtilities()
        Does nothing but denies direct instantiations.
    • 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