Class RepoAdminInterpreter

java.lang.Object
org.springframework.extensions.surf.util.AbstractLifecycleBean
org.alfresco.repo.admin.BaseInterpreter
org.alfresco.repo.admin.RepoAdminInterpreter
All Implemented Interfaces:
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 Details

    • RepoAdminInterpreter

      public RepoAdminInterpreter()
  • Method Details

    • setRepoAdminService

      public void setRepoAdminService(RepoAdminService repoAdminService)
    • main

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

      protected String executeCommand(String line) throws 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:
      IOException