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