Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Offer transformation request properties during Definition time #309

Open
fabiocarvalho777 opened this issue Mar 28, 2019 · 0 comments
Open

Comments

@fabiocarvalho777
Copy link
Member

fabiocarvalho777 commented Mar 28, 2019

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;
    }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant