Skip to content

Offer transformation request properties during Definition time #309

@fabiocarvalho777

Description

@fabiocarvalho777

Transformation request properties should be made available to the application, not just during Transformation time (already covered in #167), but in Definition time as well.

Properties should be accessible via the following methods in the TransformationTemplate class:

    /**
     * Return the property value associated with the given property name.
     * Properties are optional and transformation request specific.
     * Null is returned if this property doesn't exist.
     *
     * @param propertyName the property name
     * @return the property value or null, if property doesn't exist
     */
    protected String getProperty(String propertyName) {
        // TODO
        return null;
    }

    /**
     * Return the property value associated with the given property name.
     * Properties are optional and transformation request specific.
     * The specified default value is returned if this property doesn't exist.
     *
     * @param propertyName the property name
     * @return the property value or the default value, if property doesn't exist
     */
    protected String getProperty(String propertyName, String defaultValue) {
        // TODO
        return null;
    }

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions