public class DTSContainerPropertiesHelper
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
addProperty(java.lang.String processor,
java.lang.String propertyName,
java.lang.String propertyDescriptionOnGui,
java.lang.String propertyToolTip,
java.lang.Object defaultValue,
java.lang.Object... values)
Adds a property to the database and registers the property values, by convention, the first value
is the default value.
|
static java.lang.String |
getProcessorNameOnGui(java.lang.String processorName)
Access to the processor name on GUIs.
|
static java.lang.String[] |
getProcessorNames()
Gets the processor names.
|
static java.lang.String |
getProcessorProperty(java.lang.String propertyName)
Access to the processor the property belongs to.
|
static java.lang.String |
getProcessorToolTip(java.lang.String processorName)
Access to the processor tool tip on GUIs.
|
static java.lang.Object |
getPropertyDefaultValue(java.lang.String propertyName)
Access to the property descriptive text.
|
static java.lang.Object |
getPropertyDefaultValue(java.lang.String processorName,
java.lang.String propertyName)
Access to the property default value registered for a specific processor.
|
static java.lang.String |
getPropertyDescription(java.lang.String propertyName)
Access to the property descriptive text.
|
static java.lang.String |
getPropertyDescription(java.lang.String processorName,
java.lang.String propertyName)
Access to the property descriptive text registered for a specific processor.
|
static java.lang.String[] |
getPropertyNames(java.lang.String processorName)
Access to an array of property names registered for a single processor.
|
static java.lang.String |
getPropertyToolTip(java.lang.String propertyName)
Access to the property descriptive text.
|
static java.lang.String |
getPropertyToolTip(java.lang.String processorName,
java.lang.String propertyName)
Access to the property tool tip text registered for a specific processor.
|
static java.lang.Object[] |
getPropertyValues(java.lang.String propertyName)
Access to the array of property values assigned to a specific property regardless on which
processor the property belongs to.
|
static java.lang.Object[] |
getPropertyValues(java.lang.String processorName,
java.lang.String propertyName)
Access to the array of property values assigned to the processor name and property name.
|
static java.lang.String[] |
getRequiredProcessors(java.lang.String processorName)
Gets the required processors.
|
static boolean |
isProcessorRegistered(java.lang.String processorName)
Allows to skip the static processor registration process if the processor is
already registered.
|
static void |
registerProcessor(java.lang.String processorName,
java.lang.String processorDescriptionOnGui,
java.lang.String processorToolTip,
java.lang.String[] requiredProcessors)
Registers a new processor on this helper.
|
public static void registerProcessor(java.lang.String processorName, java.lang.String processorDescriptionOnGui, java.lang.String processorToolTip, java.lang.String[] requiredProcessors)
processorName
- the processor nameprocessorDescriptionOnGui
- short processor description suitable for a tab nameprocessorToolTip
- long processor description suitable for the tool tip on the same tabrequiredProcessors
- string array of processor names this processor depends on.public static boolean isProcessorRegistered(java.lang.String processorName)
processorName
- the processor namepublic static void addProperty(java.lang.String processor, java.lang.String propertyName, java.lang.String propertyDescriptionOnGui, java.lang.String propertyToolTip, java.lang.Object defaultValue, java.lang.Object... values)
processor
- the processor name to add a propertyName topropertyName
- the property namepropertyDescriptionOnGui
- the property description on guipropertyToolTip
- the property tool tipdefaultValue
- the default valuevalues
- ... list of possible valuespublic static java.lang.String[] getProcessorNames()
public static java.lang.String[] getPropertyNames(java.lang.String processorName)
processorName
- the processor namepublic static java.lang.Object[] getPropertyValues(java.lang.String processorName, java.lang.String propertyName)
processorName
- as StringpropertyName
- as Stringpublic static java.lang.Object[] getPropertyValues(java.lang.String propertyName)
propertyName
- the property namepublic static java.lang.String getProcessorProperty(java.lang.String propertyName)
propertyName
- the property namepublic static java.lang.String getProcessorNameOnGui(java.lang.String processorName)
processorName
- the processor namepublic static java.lang.String getProcessorToolTip(java.lang.String processorName)
processorName
- the processor namepublic static java.lang.String getPropertyDescription(java.lang.String processorName, java.lang.String propertyName)
processorName
- the processor name for which the property is registeredpropertyName
- the property name for which the GUI description is requestedpublic static java.lang.String getPropertyDescription(java.lang.String propertyName)
propertyName
- the property name for which the descriptive text is requestedpublic static java.lang.String getPropertyToolTip(java.lang.String processorName, java.lang.String propertyName)
processorName
- the processor name for which the property is registeredpropertyName
- the property name for which the GUI description is requestedpublic static java.lang.String getPropertyToolTip(java.lang.String propertyName)
propertyName
- the property name for which the descriptive text is requestedpublic static java.lang.Object getPropertyDefaultValue(java.lang.String processorName, java.lang.String propertyName)
processorName
- the processor name for which the property is registeredpropertyName
- the property name for which the default value is requestedpublic static java.lang.Object getPropertyDefaultValue(java.lang.String propertyName)
propertyName
- the property name for which the descriptive text is requestedpublic static java.lang.String[] getRequiredProcessors(java.lang.String processorName)
processorName
- the processor nameCopyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa