Index
All Classes and Interfaces|All Packages|Serialized Form
A
- AbstractI18nMojo - Class in org.tentackle.maven.plugin.i18n
-
Base class for the i18n mojos.
Opens a session to the backend holding theStoredBundles, determines the bundles of the projects viaBundleSupportand passes the property files of each bundle, for the default locale and for each configured locale, toAbstractI18nMojo.processBundle(ClassLoader, String, String, String). - AbstractI18nMojo() - Constructor for class org.tentackle.maven.plugin.i18n.AbstractI18nMojo
- AbstractVerifyMojo - Class in org.tentackle.maven.plugin.i18n
-
Base class for the "verify"- and "cleanup"-mojos.
Compares the property files of the projects against the stored bundles and collects the findings: obsolete bundles and keys, missing and differing translations, missing stored bundles and missing property files. - AbstractVerifyMojo() - Constructor for class org.tentackle.maven.plugin.i18n.AbstractVerifyMojo
B
- bundleCount - Variable in class org.tentackle.maven.plugin.i18n.AbstractI18nMojo
-
Number of processed bundles, counted per locale.
C
- CleanupMojo - Class in org.tentackle.maven.plugin.i18n
-
Removes obsolete bundles and keys from the backend.
Does nothing if there are errors or warnings other than the obsolete bundles and keys themselves (missing stored bundles, property files or translations) to make sure that there are no pending refactorings to be resolved by theBundleMonkeytool. - CleanupMojo() - Constructor for class org.tentackle.maven.plugin.i18n.CleanupMojo
- context - Variable in class org.tentackle.maven.plugin.i18n.AbstractI18nMojo
-
The domain context to access the stored bundles.
- createProjectClassLoader(List) - Method in class org.tentackle.maven.plugin.i18n.AbstractI18nMojo
-
Creates the classloader to load the bundles of a project from.
E
- entrySet() - Method in class org.tentackle.maven.plugin.i18n.OrderedProperties
- errors - Variable in class org.tentackle.maven.plugin.i18n.AbstractI18nMojo
-
Number of errors.
- execute() - Method in class org.tentackle.tentackle_i18n_maven_plugin.HelpMojo
- executeImpl() - Method in class org.tentackle.maven.plugin.i18n.AbstractI18nMojo
G
- getCompileClasspathElements(MavenProject) - Method in class org.tentackle.maven.plugin.i18n.AbstractI18nMojo
-
Gets the compile classpath of a project.
The project's output directory followed by its resolved compile dependencies. - getDomainContext() - Method in class org.tentackle.maven.plugin.i18n.AbstractI18nMojo
- getExecutionLock() - Method in class org.tentackle.maven.plugin.i18n.AbstractI18nMojo
- getProjects() - Method in class org.tentackle.maven.plugin.i18n.AbstractI18nMojo
-
Gets the projects to process.
In recursive executions, this is only the current project.
H
- HelpMojo - Class in org.tentackle.tentackle_i18n_maven_plugin
-
Display help information on tentackle-i18n-maven-plugin.
Callmvn tentackle-i18n:help -Ddetail=true -Dgoal=<goal-name>to display parameter details. - HelpMojo() - Constructor for class org.tentackle.tentackle_i18n_maven_plugin.HelpMojo
K
- keys() - Method in class org.tentackle.maven.plugin.i18n.OrderedProperties
- keySet() - Method in class org.tentackle.maven.plugin.i18n.OrderedProperties
L
- loadProperties(File) - Method in class org.tentackle.maven.plugin.i18n.AbstractI18nMojo
-
Loads resource properties from the filesystem.
The properties keep the order of the file. - loadProperties(ClassLoader, String) - Method in class org.tentackle.maven.plugin.i18n.AbstractI18nMojo
-
Loads resource properties via a classloader.
The properties keep the order of the file. - locales - Variable in class org.tentackle.maven.plugin.i18n.AbstractI18nMojo
-
The additional locales to process besides the default one.
A list separated by commas, semicolons or whitespace, e.g. - localeSuffixes - Variable in class org.tentackle.maven.plugin.i18n.AbstractI18nMojo
-
The additional locale suffixes parsed from
AbstractI18nMojo.locales.
Without the leading underscore.
O
- OrderedProperties - Class in org.tentackle.maven.plugin.i18n
-
Properties that keep the loading order.
Improves readability of changes via VCS.
Minimal implementation, sufficient only for load/store. - OrderedProperties() - Constructor for class org.tentackle.maven.plugin.i18n.OrderedProperties
- org.tentackle.maven.plugin.i18n - package org.tentackle.maven.plugin.i18n
-
Tentackle localization tools maven plugin.
Synchronizes the resource bundles of an application between its property files and theStoredBundles of a database backend. - org.tentackle.tentackle_i18n_maven_plugin - package org.tentackle.tentackle_i18n_maven_plugin
- override - Variable in class org.tentackle.maven.plugin.i18n.PushMojo
-
Override database values.
Default is to leave existing translations unchanged and add only new ones.
P
- password - Variable in class org.tentackle.maven.plugin.i18n.AbstractI18nMojo
-
The backend password.
May be omitted for password-less or externally authenticated connections. - prepareExecute() - Method in class org.tentackle.maven.plugin.i18n.AbstractI18nMojo
- processBundle(ClassLoader, String, String, String) - Method in class org.tentackle.maven.plugin.i18n.AbstractI18nMojo
-
Processes the property file of a bundle for one locale.
The resource name must not start with a leading slash because it is passed to the classloader'sgetResourceAsStreammethod. - processBundle(ClassLoader, String, String, String) - Method in class org.tentackle.maven.plugin.i18n.AbstractVerifyMojo
- processBundle(ClassLoader, String, String, String) - Method in class org.tentackle.maven.plugin.i18n.PullMojo
- processBundle(ClassLoader, String, String, String) - Method in class org.tentackle.maven.plugin.i18n.PushMojo
- processBundles(Session, List) - Method in class org.tentackle.maven.plugin.i18n.AbstractI18nMojo
-
Processes the bundles of the given projects.
Each project is processed within its own transaction. - processBundles(Session, List) - Method in class org.tentackle.maven.plugin.i18n.AbstractVerifyMojo
- processBundles(Session, List) - Method in class org.tentackle.maven.plugin.i18n.CleanupMojo
- processBundles(Session, List) - Method in class org.tentackle.maven.plugin.i18n.VerifyMojo
- PullMojo - Class in org.tentackle.maven.plugin.i18n
-
Pulls resource bundles from the database backend.
If the database contents differ from the resource bundle property files, the property files will be updated. - PullMojo() - Constructor for class org.tentackle.maven.plugin.i18n.PullMojo
- PushMojo - Class in org.tentackle.maven.plugin.i18n
-
Pushes resource bundles to the database backend.
Processes all bundles found on the project's compile classpath, i.e. including those of its dependencies. - PushMojo() - Constructor for class org.tentackle.maven.plugin.i18n.PushMojo
- put(Object, Object) - Method in class org.tentackle.maven.plugin.i18n.OrderedProperties
- putAll(Map) - Method in class org.tentackle.maven.plugin.i18n.OrderedProperties
R
- remove(Object) - Method in class org.tentackle.maven.plugin.i18n.OrderedProperties
T
- toString() - Method in class org.tentackle.maven.plugin.i18n.OrderedProperties
U
- updates - Variable in class org.tentackle.maven.plugin.i18n.AbstractI18nMojo
-
Number of updated translations.
- url - Variable in class org.tentackle.maven.plugin.i18n.AbstractI18nMojo
-
The JDBC URL of the backend holding the stored bundles.
- user - Variable in class org.tentackle.maven.plugin.i18n.AbstractI18nMojo
-
The backend user.
V
- validate() - Method in class org.tentackle.maven.plugin.i18n.AbstractVerifyMojo
- validate() - Method in class org.tentackle.maven.plugin.i18n.PullMojo
- VerifyMojo - Class in org.tentackle.maven.plugin.i18n
-
Verifies the bundles stored in the backend against the property resource bundles of the application.
Reports differing translations (info), obsolete bundles and keys, missing stored bundles, missing property files and missing translations of non-default locales (warnings). - VerifyMojo() - Constructor for class org.tentackle.maven.plugin.i18n.VerifyMojo
W
- warnings - Variable in class org.tentackle.maven.plugin.i18n.AbstractI18nMojo
-
Number of warnings.
All Classes and Interfaces|All Packages|Serialized Form