Class GWConstants
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringSystem property used to specify the default action (Act) to run when no explicit act string is provided.static final StringConfiguration property specifying the location of external act definition files (*.toml).static final StringSystem property used to override the default configuration file name.static final StringConfiguration property for excluded paths.static final StringDefault Ghostwriter properties file name.static final StringConfiguration property for system instructions.static final StringConfiguration property controlling interactive mode.static final intstatic final StringConfiguration property for the active model/provider.static final charLine continuation marker used for multi-line console input.static final StringConfiguration property controlling recursive module traversal.static final StringConfiguration property specifying the file, directory, or path pattern used to determine which files are scanned within the project directory.static final StringProperty name for the project directory configuration.static final StringConfiguration property specifying the number of threads to use for multi-threaded module processing. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
PROJECT_DIR_PROP_NAME
Property name for the project directory configuration.The project directory is the base folder from which Ghostwriter begins analyzing the project's structure. It may point to:
- The root of a single project (e.g., a Maven or Gradle project root), or
- A folder containing multiple projects or modules (e.g., a monorepo or a parent directory for several subprojects).
- See Also:
-
GW_CONFIG_FILE_NAME
Default Ghostwriter properties file name.This is the name of the configuration properties file that can be used as one of the configuration data sources.
It can be overridden by the
CONFIG_PROP_NAMEproperty.- See Also:
-
CONFIG_PROP_NAME
System property used to override the default configuration file name.When set, its value replaces
GW_CONFIG_FILE_NAMEas the configuration properties file to load.- See Also:
-
MODEL_PROP_NAME
Configuration property for the active model/provider.- See Also:
-
INSTRUCTIONS_PROP_NAME
Configuration property for system instructions.- See Also:
-
EXCLUDES_PROP_NAME
Configuration property for excluded paths.- See Also:
-
ACTS_LOCATION_PROP_NAME
Configuration property specifying the location of external act definition files (*.toml).The value may be an absolute path, a path relative to the root directory, or a URL (starting with
http://orhttps://) pointing to a remote source. -
ACT_PROP_NAME
System property used to specify the default action (Act) to run when no explicit act string is provided.The value is parsed using the same rules described in the act-parsing lifecycle (task shorthand expansion, episode slicing, argument extraction, etc.), so it accepts any format valid for a raw command string (e.g.,
"bindex","bindex/java/mvn-project#2!",">add javadoc").- See Also:
-
THREADS_PROP_NAME
Configuration property specifying the number of threads to use for multi-threaded module processing.The value must be a positive integer; non-positive values are rejected.
-
PATH_PROP_NAME
Configuration property specifying the file, directory, or path pattern used to determine which files are scanned within the project directory.The value may be an absolute or relative path to a single file, an absolute or relative path to a directory, a glob pattern (e.g.,
"glob:**/*.java"), or a regex pattern (e.g.,"regex:.*\\.java"). -
NONRECURSIVE_PROP_NAME
Configuration property controlling recursive module traversal.- See Also:
-
INTERACTIVE_MODE_PROP_NAME
Configuration property controlling interactive mode.- See Also:
-
MULTIPLE_LINES_BREAKER
public static final char MULTIPLE_LINES_BREAKERLine continuation marker used for multi-line console input.- See Also:
-
LOG_LINE_LENGTH
public static final int LOG_LINE_LENGTH- See Also:
-
-
Constructor Details
-
GWConstants
private GWConstants()
-