20 package net.sf.gridarta.commands;
23 import net.
sf.japi.swing.misc.ConsoleProgress;
24 import org.apache.log4j.Category;
25 import org.apache.log4j.Logger;
26 import org.jetbrains.annotations.NotNull;
60 LOG.fatal(
"Cannot collect resources");
67 }
catch (
final InterruptedException ignored) {
68 Thread.currentThread().interrupt();
A Collector is capable of iterating over a collection of Collectables and collecting them in a separa...
void waitUntilFinished()
Waits until collection has finished.
boolean canWriteCollected()
Whether the resources can be written in collected form.
Interface for command-line commands.
void start()
Starts collecting.
Base package of all Gridarta classes.
ProjectSettings getProjectSettings()
int execute()
Executes the command.
static final Category LOG
The Logger for printing log messages.
File getCollectedDirectory()
Returns the directory where collected archetypes are stored.
Run archetype collection.
AbstractResources< G, A, R > getResources()
CollectArchesCommand(@NotNull final ProjectModel<?, ?, ?> projectModel)
Creates a new instance.
final ProjectModel<?, ?, ?> projectModel
The project to collect.