Package org.alfresco.tools
Class Repository
java.lang.Object
org.alfresco.tools.Tool
org.alfresco.tools.Repository
- Direct Known Subclasses:
ContentStoreCleanerScalabilityRunner
Initializes the full application context and then waits for a
keypress to exit.
- Author:
- Derek Hulley
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidDisplay Tool Helpprotected intexecute()Perform Tool Behaviourprotected StringGet the tool namestatic voidStart the repository and wait for a keypress to stopprotected org.alfresco.tools.ToolContextprocessArgs(String[] args) Process Tool ArgumentsMethods inherited from class org.alfresco.tools.Tool
exit, getApplicationContext, getServiceRegistry, handleError, logError, logInfo, logVerbose, start
-
Constructor Details
-
Repository
public Repository()
-
-
Method Details
-
getToolName
Description copied from class:ToolGet the tool name- Specified by:
getToolNamein classTool- Returns:
- the tool name
-
processArgs
Description copied from class:ToolProcess Tool Arguments- Overrides:
processArgsin classTool- Parameters:
args- the arguments- Returns:
- the tool context
- Throws:
ToolException
-
displayHelp
protected void displayHelp()Description copied from class:ToolDisplay Tool Help- Overrides:
displayHelpin classTool
-
execute
Description copied from class:ToolPerform Tool Behaviour- Specified by:
executein classTool- Throws:
ToolException
-
main
Start the repository and wait for a keypress to stop- Parameters:
args- not used
-