org.zanata.client.commands.pull
Class AbstractPullStrategy

java.lang.Object
  extended by org.zanata.client.commands.pull.AbstractPullStrategy
All Implemented Interfaces:
PullStrategy
Direct Known Subclasses:
AbstractGettextPullStrategy, PropertiesStrategy, XliffStrategy, XmlStrategy

public abstract class AbstractPullStrategy
extends Object
implements PullStrategy


Constructor Summary
protected AbstractPullStrategy(PullOptions opts)
           
 
Method Summary
 PullOptions getOpts()
           
 boolean isTransOnly()
          Indicates if this strategy must work without access to source files.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.zanata.client.commands.pull.PullStrategy
getExtensions, getTransFileToWrite, needsDocToWriteTrans, writeSrcFile, writeTransFile
 

Constructor Detail

AbstractPullStrategy

protected AbstractPullStrategy(PullOptions opts)
Method Detail

getOpts

public PullOptions getOpts()

isTransOnly

public boolean isTransOnly()
Description copied from interface: PullStrategy
Indicates if this strategy must work without access to source files. No attempt should be made to read, write or push source documents for a trans-only strategy.

Specified by:
isTransOnly in interface PullStrategy
Returns:
true if this strategy only allows interactions with translation files.


Copyright © 2013 Zanata Project. All Rights Reserved.