Class Repository

java.lang.Object
org.alfresco.tools.Tool
org.alfresco.tools.Repository
Direct Known Subclasses:
ContentStoreCleanerScalabilityRunner

public class Repository extends Tool
Initializes the full application context and then waits for a keypress to exit.
Author:
Derek Hulley
  • Constructor Details

    • Repository

      public Repository()
  • Method Details

    • getToolName

      protected String getToolName()
      Description copied from class: Tool
      Get the tool name
      Specified by:
      getToolName in class Tool
      Returns:
      the tool name
    • processArgs

      protected org.alfresco.tools.ToolContext processArgs(String[] args) throws ToolException
      Description copied from class: Tool
      Process Tool Arguments
      Overrides:
      processArgs in class Tool
      Parameters:
      args - the arguments
      Returns:
      the tool context
      Throws:
      ToolException
    • displayHelp

      protected void displayHelp()
      Description copied from class: Tool
      Display Tool Help
      Overrides:
      displayHelp in class Tool
    • execute

      protected int execute() throws ToolException
      Description copied from class: Tool
      Perform Tool Behaviour
      Specified by:
      execute in class Tool
      Throws:
      ToolException
    • main

      public static void main(String[] args)
      Start the repository and wait for a keypress to stop
      Parameters:
      args - not used