Griffon 1.2.0

org.codehaus.griffon.cli
[Java] Interface CommandLineConstants


public interface CommandLineConstants

Defines all flags that can be used with the command line.

Authors:
Andres Almiray
Since:
0.9.5


Field Summary
String[] KEYS

String KEY_CLI_VERBOSE

Controls verbose output when the command tool runs.

String KEY_COMPILER_DEBUG

Add debug information to compiled classes.

String KEY_COMPILER_SOURCE_LEVEL

The compiler source level to use.

String KEY_COMPILER_TARGET_LEVEL

The compiler target level to use.

String KEY_DEFAULT_ARTIFACT_REPOSITORY

Defines the name of the default search repository to use.

String KEY_DEFAULT_INSTALL_ARTIFACT_REPOSITORY

Defines the name of the default local install repository to use.

String KEY_DEFAULT_RELEASE_ARTIFACT_REPOSITORY

Defines the name of the default publish repository to use.

String KEY_DISABLE_AST_INJECTION

Controls AST injection performed to artifacts by the compiler.

String KEY_DISABLE_AUTO_IMPORTS

Controls additional default imports handled by the compiler.

String KEY_DISABLE_LOCAL_REPOSITORY_SYNC

Controls if installed artifacts are copied to a local repository for faster lookups.

String KEY_DISABLE_LOGGING_INJECTION

Controls AST injection adeed to logging statements performed by the compiler.

String KEY_DISABLE_THREADING_INJECTION

Controls threading management code inject to controllers by the compiler.

String KEY_FORCE_ARTIFACT_UPGRADE

Forces artifact upgrades even if versions are not compatible.

String KEY_FULL_STACKTRACE

Whether to output full stack traces or not in the logs.

String KEY_INSTALL_FAILURE_KEY

Controls the action to take when a plugin fails to be installed.

String KEY_INSTALL_FAILURE_STRATEGY

Strategy to follow when plugin installation fails for the 1st time.

String KEY_INTERACTIVE_MODE

Defines if the command tool should run interactively or not.

String KEY_NON_INTERACTIVE_DEFAULT_ANSWER

Holds the default answer to yield when running in non interactive mode.

String KEY_OFFLINE_MODE

Defines if the command tool should resolve dependencies over the network or not.

String KEY_SOURCE_ENCODING

Source file encoding.

 

Field Detail

KEYS

public String[] KEYS


KEY_CLI_VERBOSE

public String KEY_CLI_VERBOSE
Controls verbose output when the command tool runs.

Valid values are 'true' or 'false'. Default is 'false'.


KEY_COMPILER_DEBUG

public String KEY_COMPILER_DEBUG
Add debug information to compiled classes. Defaults to 'yes'


KEY_COMPILER_SOURCE_LEVEL

public String KEY_COMPILER_SOURCE_LEVEL
The compiler source level to use. Defaults to '1.6'


KEY_COMPILER_TARGET_LEVEL

public String KEY_COMPILER_TARGET_LEVEL
The compiler target level to use. Defaults to '1.6'


KEY_DEFAULT_ARTIFACT_REPOSITORY

public String KEY_DEFAULT_ARTIFACT_REPOSITORY
Defines the name of the default search repository to use.

Defaults to ArtifactRepository.DEFAULT_REMOTE_NAME.


KEY_DEFAULT_INSTALL_ARTIFACT_REPOSITORY

public String KEY_DEFAULT_INSTALL_ARTIFACT_REPOSITORY
Defines the name of the default local install repository to use.

Defaults to ArtifactRepository.DEFAULT_LOCAL_NAME.


KEY_DEFAULT_RELEASE_ARTIFACT_REPOSITORY

public String KEY_DEFAULT_RELEASE_ARTIFACT_REPOSITORY
Defines the name of the default publish repository to use.

Defaults to ArtifactRepository.DEFAULT_REMOTE_NAME.


KEY_DISABLE_AST_INJECTION

public String KEY_DISABLE_AST_INJECTION
Controls AST injection performed to artifacts by the compiler.

Valid values are 'true' or 'false'. Default is 'false'.


KEY_DISABLE_AUTO_IMPORTS

public String KEY_DISABLE_AUTO_IMPORTS
Controls additional default imports handled by the compiler.

Valid values are 'true' or 'false'. Default is 'false'.


KEY_DISABLE_LOCAL_REPOSITORY_SYNC

public String KEY_DISABLE_LOCAL_REPOSITORY_SYNC
Controls if installed artifacts are copied to a local repository for faster lookups.

Valid values are 'true' or 'false'. Default is 'false'.


KEY_DISABLE_LOGGING_INJECTION

public String KEY_DISABLE_LOGGING_INJECTION
Controls AST injection adeed to logging statements performed by the compiler.

Valid values are 'true' or 'false'. Default is 'false'.


KEY_DISABLE_THREADING_INJECTION

public String KEY_DISABLE_THREADING_INJECTION
Controls threading management code inject to controllers by the compiler.

Valid values are 'true' or 'false'. Default is 'false'.


KEY_FORCE_ARTIFACT_UPGRADE

public String KEY_FORCE_ARTIFACT_UPGRADE
Forces artifact upgrades even if versions are not compatible.

Valid values are 'true' or 'false'. Default is 'false'.


KEY_FULL_STACKTRACE

public String KEY_FULL_STACKTRACE
Whether to output full stack traces or not in the logs.

Valid values are 'true' or 'false'. Default is 'false'.


KEY_INSTALL_FAILURE_KEY

public String KEY_INSTALL_FAILURE_KEY
Controls the action to take when a plugin fails to be installed.

Valid values are 'abort', 'continue' or 'retry'. Default is 'continue'.


KEY_INSTALL_FAILURE_STRATEGY

public String KEY_INSTALL_FAILURE_STRATEGY
Strategy to follow when plugin installation fails for the 1st time.

Valid values are 'abort', 'continue', 'retry'. Default is 'abort'.


KEY_INTERACTIVE_MODE

public String KEY_INTERACTIVE_MODE
Defines if the command tool should run interactively or not.

Valid values are 'true' or 'false'.


KEY_NON_INTERACTIVE_DEFAULT_ANSWER

public String KEY_NON_INTERACTIVE_DEFAULT_ANSWER
Holds the default answer to yield when running in non interactive mode.

Valid values depend on the question being asked. However this answer will be applied to all questions that arise during the command invocation.


KEY_OFFLINE_MODE

public String KEY_OFFLINE_MODE
Defines if the command tool should resolve dependencies over the network or not.

Valid values are 'true' or 'false'.


KEY_SOURCE_ENCODING

public String KEY_SOURCE_ENCODING
Source file encoding. Defaults to UTF-8


 

Groovy Documentation