Class CollectArchesCommand

  • All Implemented Interfaces:
    Command

    public class CollectArchesCommand
    extends java.lang.Object
    implements Command
    Run archetype collection.
    Todo:
    allow arch collection to be configured (input directories, output directory)
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int execute()
      Executes the command.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CollectArchesCommand

        public CollectArchesCommand​(@NotNull
                                    @NotNull ProjectModel<?,​?,​?> projectModel)
        Creates a new instance.
        Parameters:
        projectModel - the project to collect
    • Method Detail

      • execute

        public int execute()
        Description copied from interface: Command
        Executes the command.
        Specified by:
        execute in interface Command
        Returns:
        return code suitable for passing to System.exit(int)