|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
com.googlecode.crowdin.maven.AbstractCrowdinMojo
public abstract class AbstractCrowdinMojo
| Field Summary | |
|---|---|
protected org.apache.maven.wagon.authentication.AuthenticationInfo |
authenticationInfo
|
protected org.apache.commons.httpclient.HttpClient |
client
|
protected String |
crowdinServerId
Server id in settings.xml. username is project identifier, password is API key |
protected File |
messagesInputDirectory
The directory where the messages can be fund. |
protected File |
messagesOutputDirectory
The directory where the messages can be fund. |
protected org.apache.maven.project.MavenProject |
project
The current Maven project |
protected org.apache.maven.project.MavenProjectHelper |
projectHelper
Maven ProjectHelper. |
protected static org.jdom.input.SAXBuilder |
saxBuilder
|
protected org.apache.maven.artifact.manager.WagonManager |
wagonManager
The Maven Wagon manager to use when obtaining server authentication details. |
| Fields inherited from interface org.apache.maven.plugin.Mojo |
|---|
ROLE |
| Constructor Summary | |
|---|---|
AbstractCrowdinMojo()
|
|
| Method Summary | |
|---|---|
protected boolean |
crowdinContainsFile(org.jdom.Element files,
String fileName,
boolean folder)
|
protected org.jdom.Element |
crowdinGetFolder(List<org.jdom.Element> items,
String fileName)
|
protected boolean |
crowdinIsFolder(org.jdom.Element item)
|
protected org.jdom.Document |
crowdinRequestAPI(String method,
Map<String,String> parameters,
Map<String,File> files,
boolean shallSuccess)
|
void |
execute()
|
protected String |
getMavenId(org.apache.maven.artifact.Artifact artifact)
|
| Methods inherited from class org.apache.maven.plugin.AbstractMojo |
|---|
getLog, getPluginContext, setLog, setPluginContext |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final org.jdom.input.SAXBuilder saxBuilder
protected org.apache.maven.project.MavenProject project
protected org.apache.maven.artifact.manager.WagonManager wagonManager
protected org.apache.maven.project.MavenProjectHelper projectHelper
protected String crowdinServerId
protected File messagesInputDirectory
protected File messagesOutputDirectory
protected org.apache.commons.httpclient.HttpClient client
protected org.apache.maven.wagon.authentication.AuthenticationInfo authenticationInfo
| Constructor Detail |
|---|
public AbstractCrowdinMojo()
| Method Detail |
|---|
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
protected boolean crowdinContainsFile(org.jdom.Element files,
String fileName,
boolean folder)
protected org.jdom.Element crowdinGetFolder(List<org.jdom.Element> items,
String fileName)
protected boolean crowdinIsFolder(org.jdom.Element item)
protected org.jdom.Document crowdinRequestAPI(String method,
Map<String,String> parameters,
Map<String,File> files,
boolean shallSuccess)
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected String getMavenId(org.apache.maven.artifact.Artifact artifact)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||