org.zanata.maven.ListRemoteMojo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of zanata-maven-plugin Show documentation
Show all versions of zanata-maven-plugin Show documentation
Zanata client for managing projects, publishing
source text and retrieving translations.
package org.zanata.maven;
import org.zanata.client.commands.ConfigurableProjectOptions;
import org.zanata.client.commands.ListRemoteCommand;
/**
* Lists all remote documents in the configured Zanata project version.
*
* @goal list-remote
* @requiresOnline true
* @author Sean Flanigan
*/
public class ListRemoteMojo extends ConfigurableProjectMojo
{
private static final String ZANATA_SERVER_PROJECT_TYPE = "remote";
public ListRemoteMojo() throws Exception
{
super();
}
public ListRemoteCommand initCommand()
{
return new ListRemoteCommand(this);
}
@Override
public String getProjectType()
{
return ZANATA_SERVER_PROJECT_TYPE;
}
@Override
public String getCommandName()
{
return "list-remote";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy