All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.zanata.maven.ListRemoteMojo Maven / Gradle / Ivy

Go to download

Zanata client for managing projects, publishing source text and retrieving translations.

There is a newer version: 4.6.2
Show newest version
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