Class Import

java.lang.Object
org.alfresco.tools.Tool
org.alfresco.tools.Import

public class Import extends Tool
Import Tool.
Author:
David Caruana
  • Constructor Details

    • Import

      public Import()
  • Method Details

    • main

      public static void main(String[] args)
      Entry Point
      Parameters:
      args -
    • processArgs

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

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

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

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