Package org.alfresco.tools
Class Import
- java.lang.Object
-
- org.alfresco.tools.Tool
-
- org.alfresco.tools.Import
-
public class Import extends Tool
Import Tool.- Author:
- David Caruana
-
-
Constructor Summary
Constructors Constructor Description Import()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddisplayHelp()Display Tool Helpprotected intexecute()Perform Tool Behaviourprotected java.lang.StringgetToolName()Get the tool namestatic voidmain(java.lang.String[] args)Entry Pointprotected org.alfresco.tools.ToolContextprocessArgs(java.lang.String[] args)Process Tool Arguments-
Methods inherited from class org.alfresco.tools.Tool
exit, getApplicationContext, getServiceRegistry, handleError, logError, logInfo, logVerbose, start
-
-
-
-
Method Detail
-
main
public static void main(java.lang.String[] args)
Entry Point- Parameters:
args-
-
processArgs
protected org.alfresco.tools.ToolContext processArgs(java.lang.String[] args) throws org.alfresco.tools.ToolArgumentExceptionDescription copied from class:ToolProcess Tool Arguments- Overrides:
processArgsin classTool- Parameters:
args- the arguments- Returns:
- the tool context
- Throws:
org.alfresco.tools.ToolArgumentException
-
displayHelp
protected void displayHelp()
Description copied from class:ToolDisplay Tool Help- Overrides:
displayHelpin classTool
-
getToolName
protected java.lang.String getToolName()
Description copied from class:ToolGet the tool name- Specified by:
getToolNamein classTool- Returns:
- the tool name
-
execute
protected int execute() throws ToolExceptionDescription copied from class:ToolPerform Tool Behaviour- Specified by:
executein classTool- Throws:
ToolException
-
-