Class RepoAdminInterpreter

  • All Implemented Interfaces:
    java.util.EventListener, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware, org.springframework.context.ApplicationListener

    public class RepoAdminInterpreter
    extends BaseInterpreter
    An interactive console for (first cut) Repository Admin Service / API.
    • Constructor Detail

      • RepoAdminInterpreter

        public RepoAdminInterpreter()
    • Method Detail

      • setRepoAdminService

        public void setRepoAdminService​(RepoAdminService repoAdminService)
      • main

        public static void main​(java.lang.String[] args)
        Main entry point.
      • executeCommand

        protected java.lang.String executeCommand​(java.lang.String line)
                                           throws java.io.IOException
        Execute a single command using the BufferedReader passed in for any data needed. TODO: Use decent parser!
        Specified by:
        executeCommand in class BaseInterpreter
        Parameters:
        line - The unparsed command
        Returns:
        The textual output of the command.
        Throws:
        java.io.IOException