public class Parameters extends StringParameters implements IEditorDescriptionProvider
bufferpath| Constructor and Description |
|---|
Parameters() |
Parameters(String initialData) |
| Modifier and Type | Method and Description |
|---|---|
EditorDescription |
createEditorDescription(ParametersDescription paramsDesc) |
boolean |
getAnnotate() |
String |
getAzureKey() |
String |
getCategory() |
String |
getConfigPath() |
boolean |
getFillTarget() |
int |
getFillTargetThreshold() |
boolean |
getMakeTmx() |
boolean |
getMarkAsMT() |
int |
getMaxEvents() |
int |
getMaxMatches() |
boolean |
getOnlyWhenWithoutCandidate() |
ParametersDescription |
getParametersDescription()
Gets the description of the parameters.
|
boolean |
getSendTmx() |
String |
getTargetPrefix() |
int |
getThreshold() |
String |
getTmxPath() |
boolean |
getUseTargetPrefix() |
void |
reset()
Reset this parameters object to its default values.
|
void |
setAnnotate(boolean annotate) |
void |
setAzureKey(String azureKey) |
void |
setCategory(String category) |
void |
setConfigPath(String configPath) |
void |
setFillTarget(boolean fillTarget) |
void |
setFillTargetThreshold(int fillTargetThreshold) |
void |
setMakeTmx(boolean makeTmx) |
void |
setMarkAsMT(boolean markAsMT) |
void |
setMaxEvents(int maxEvents) |
void |
setMaxMatches(int maxMatches) |
void |
setOnlyWhenWithoutCandidate(boolean onlyWhenWithoutCandidate) |
void |
setSendTmx(boolean sendTmx) |
void |
setTargetPrefix(String targetPrefix) |
void |
setThreshold(int threshold) |
void |
setTmxPath(String tmxPath) |
void |
setUseTargetPrefix(boolean useTargetPrefix) |
fromString, fromString, getBoolean, getGroup, getInteger, getString, setBoolean, setGroup, setInteger, setString, toStringpublic Parameters()
public Parameters(String initialData)
public void reset()
StringParameters
Subclasses should override this method to set any initial
values and instantiate any objects that require allocation. It
is recommended that subclasses also call super.reset()
in the override to ensure that the buffer is empty.
reset in interface IParametersreset in class StringParameterspublic boolean getFillTarget()
public void setFillTarget(boolean fillTarget)
public int getFillTargetThreshold()
public void setFillTargetThreshold(int fillTargetThreshold)
public boolean getMarkAsMT()
public void setMarkAsMT(boolean markAsMT)
public int getMaxEvents()
public void setMaxEvents(int maxEvents)
public int getThreshold()
public void setThreshold(int threshold)
public int getMaxMatches()
public void setMaxMatches(int maxMatches)
public String getTmxPath()
public void setTmxPath(String tmxPath)
public String getConfigPath()
public void setConfigPath(String configPath)
public String getAzureKey()
public void setAzureKey(String azureKey)
public String getCategory()
public void setCategory(String category)
public boolean getMakeTmx()
public void setMakeTmx(boolean makeTmx)
public boolean getAnnotate()
public void setAnnotate(boolean annotate)
public boolean getOnlyWhenWithoutCandidate()
public void setOnlyWhenWithoutCandidate(boolean onlyWhenWithoutCandidate)
public boolean getSendTmx()
public void setSendTmx(boolean sendTmx)
public boolean getUseTargetPrefix()
public void setUseTargetPrefix(boolean useTargetPrefix)
public String getTargetPrefix()
public void setTargetPrefix(String targetPrefix)
public ParametersDescription getParametersDescription()
IParametersgetParametersDescription in interface IParametersgetParametersDescription in class BaseParameterspublic EditorDescription createEditorDescription(ParametersDescription paramsDesc)
createEditorDescription in interface IEditorDescriptionProviderCopyright © 2021. All rights reserved.