Class Parameters
- java.lang.Object
-
- net.sf.okapi.common.BaseParameters
-
- net.sf.okapi.common.StringParameters
-
- net.sf.okapi.steps.msbatchtranslation.Parameters
-
- All Implemented Interfaces:
Cloneable,IParameters,IEditorDescriptionProvider
public class Parameters extends StringParameters implements IEditorDescriptionProvider
-
-
Field Summary
-
Fields inherited from class net.sf.okapi.common.StringParameters
buffer
-
Fields inherited from class net.sf.okapi.common.BaseParameters
path
-
-
Constructor Summary
Constructors Constructor Description Parameters()Parameters(String initialData)
-
Method Summary
-
Methods inherited from class net.sf.okapi.common.StringParameters
fromString, fromString, getBoolean, getGroup, getInteger, getString, setBoolean, setGroup, setInteger, setString, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface net.sf.okapi.common.IParameters
copy
-
-
-
-
Constructor Detail
-
Parameters
public Parameters()
-
Parameters
public Parameters(String initialData)
-
-
Method Detail
-
reset
public void reset()
- Specified by:
resetin interfaceIParameters- Overrides:
resetin classStringParameters
-
getFillTarget
public boolean getFillTarget()
-
setFillTarget
public void setFillTarget(boolean fillTarget)
-
getFillTargetThreshold
public int getFillTargetThreshold()
-
setFillTargetThreshold
public void setFillTargetThreshold(int fillTargetThreshold)
-
getMarkAsMT
public boolean getMarkAsMT()
-
setMarkAsMT
public void setMarkAsMT(boolean markAsMT)
-
getMaxEvents
public int getMaxEvents()
-
setMaxEvents
public void setMaxEvents(int maxEvents)
-
getThreshold
public int getThreshold()
-
setThreshold
public void setThreshold(int threshold)
-
getMaxMatches
public int getMaxMatches()
-
setMaxMatches
public void setMaxMatches(int maxMatches)
-
getTmxPath
public String getTmxPath()
-
setTmxPath
public void setTmxPath(String tmxPath)
-
getConfigPath
public String getConfigPath()
-
setConfigPath
public void setConfigPath(String configPath)
-
getAzureKey
public String getAzureKey()
-
setAzureKey
public void setAzureKey(String azureKey)
-
getCategory
public String getCategory()
-
setCategory
public void setCategory(String category)
-
getMakeTmx
public boolean getMakeTmx()
-
setMakeTmx
public void setMakeTmx(boolean makeTmx)
-
getAnnotate
public boolean getAnnotate()
-
setAnnotate
public void setAnnotate(boolean annotate)
-
getOnlyWhenWithoutCandidate
public boolean getOnlyWhenWithoutCandidate()
-
setOnlyWhenWithoutCandidate
public void setOnlyWhenWithoutCandidate(boolean onlyWhenWithoutCandidate)
-
getSendTmx
public boolean getSendTmx()
-
setSendTmx
public void setSendTmx(boolean sendTmx)
-
getUseTargetPrefix
public boolean getUseTargetPrefix()
-
setUseTargetPrefix
public void setUseTargetPrefix(boolean useTargetPrefix)
-
getTargetPrefix
public String getTargetPrefix()
-
setTargetPrefix
public void setTargetPrefix(String targetPrefix)
-
getParametersDescription
public ParametersDescription getParametersDescription()
- Specified by:
getParametersDescriptionin interfaceIParameters- Overrides:
getParametersDescriptionin classBaseParameters
-
createEditorDescription
public EditorDescription createEditorDescription(ParametersDescription paramsDesc)
- Specified by:
createEditorDescriptionin interfaceIEditorDescriptionProvider
-
-