public final class DefaultUserBit extends Object implements UserBit
Constructor and Description |
---|
DefaultUserBit(PipeBitInfo pipeBitInfo,
Class<?> pipeBitClass) |
Modifier and Type | Method and Description |
---|---|
String |
getBitName() |
org.apache.uima.fit.descriptor.ConfigurationParameter |
getParameter(int index) |
String |
getParameterClass(int index) |
int |
getParameterCount() |
String |
getParameterDescription(int index) |
String |
getParameterName(int index) |
String[] |
getParameterValue(int index) |
Class<?> |
getPipeBitClass() |
PipeBitInfo |
getPipeBitInfo() |
boolean |
isParameterMandatory(int index) |
void |
setBitName(String name) |
void |
setParameterValue(int index,
String... values) |
public DefaultUserBit(PipeBitInfo pipeBitInfo, Class<?> pipeBitClass)
public String getBitName()
getBitName
in interface UserBit
public void setBitName(String name)
setBitName
in interface UserBit
name
- Human-readable name of the Reader, Annotator, or Writerpublic PipeBitInfo getPipeBitInfo()
getPipeBitInfo
in interface UserBit
public Class<?> getPipeBitClass()
getPipeBitClass
in interface UserBit
public int getParameterCount()
getParameterCount
in interface ParameterHolder
public org.apache.uima.fit.descriptor.ConfigurationParameter getParameter(int index)
getParameter
in interface ParameterHolder
public String getParameterClass(int index)
getParameterClass
in interface ParameterHolder
public String getParameterName(int index)
getParameterName
in interface ParameterHolder
public String getParameterDescription(int index)
getParameterDescription
in interface ParameterHolder
public boolean isParameterMandatory(int index)
isParameterMandatory
in interface ParameterHolder
public String[] getParameterValue(int index)
getParameterValue
in interface ParameterHolder
public void setParameterValue(int index, String... values)
setParameterValue
in interface UserBit
index
- -values
- User Values for Configuration parameter at indexCopyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.